# HG changeset patch # User Alain Mazy # Date 1707819847 -3600 # Node ID f294a3c6dbe66a3f52cb9a22fa223cf555e92b1e # Parent 8c86b459b3a5fd3346c3a53e04cc442570af648b Added 2 new default permissions for dicom-web (get and post on dicom-web/studies) diff -r 8c86b459b3a5 -r f294a3c6dbe6 NEWS --- a/NEWS Wed Dec 20 14:55:16 2023 +0100 +++ b/NEWS Tue Feb 13 11:24:07 2024 +0100 @@ -1,3 +1,9 @@ +Pending changes in the mainline +=============================== + +* Added 2 new default permissions for dicom-web (get and post on dicom-web/studies). + + 2023-12-19 - v 0.6.2 ==================== diff -r 8c86b459b3a5 -r f294a3c6dbe6 Plugin/DefaultConfiguration.json --- a/Plugin/DefaultConfiguration.json Wed Dec 20 14:55:16 2023 +0100 +++ b/Plugin/DefaultConfiguration.json Tue Feb 13 11:24:07 2024 +0100 @@ -74,6 +74,7 @@ // uploads ["post", "^/instances$", "all|upload"], + ["post" , "^/DICOM_WEB_ROOT/studies$", "all|upload"], // monitor jobs you have created ["get" , "^/jobs/([a-f0-9-]+)$", "all|send|modify|anonymize|q-r-remote-modalities"], @@ -87,7 +88,8 @@ ["post", "^/modalities/(.*)/move$", "all|q-r-remote-modalities"], ["get" , "^/DICOM_WEB_ROOT/servers$", "all|send|q-r-remote-modalities"], ["get" , "^/DICOM_WEB_ROOT/(servers)/(.*)/stow$", "all|send"], - + ["get" , "^/DICOM_WEB_ROOT/studies$", "all|view"], + // modifications/anonymization ["post", "^/(patients|studies|series|instances)/([a-f0-9-]+)/(modify|merge)(.*)$", "all|modify"], ["post", "^/(patients|studies|series|instances)/([a-f0-9-]+)/anonymize(.*)$", "all|anonymize"], diff -r 8c86b459b3a5 -r f294a3c6dbe6 TODO --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TODO Tue Feb 13 11:24:07 2024 +0100 @@ -0,0 +1,1 @@ +- support dicom-json source in OHIF plugin: https://discourse.orthanc-server.org/t/authantication-not-working-for-orthanc-explorer-2/4238/11 \ No newline at end of file diff -r 8c86b459b3a5 -r f294a3c6dbe6 UnitTestsSources/UnitTestsMain.cpp --- a/UnitTestsSources/UnitTestsMain.cpp Wed Dec 20 14:55:16 2023 +0100 +++ b/UnitTestsSources/UnitTestsMain.cpp Tue Feb 13 11:24:07 2024 +0100 @@ -172,6 +172,22 @@ parser.Parse(accesses, "/system", noGetArguments.GetMap()); ASSERT_TRUE(IsAccessing(accesses, AccessLevel_System, "/system")); + accesses.clear(); + parser.Parse(accesses, "/instances", noGetArguments.GetMap()); + ASSERT_TRUE(IsAccessing(accesses, AccessLevel_System, "/instances")); + + accesses.clear(); + parser.Parse(accesses, "/series", noGetArguments.GetMap()); + ASSERT_TRUE(IsAccessing(accesses, AccessLevel_System, "/series")); + + accesses.clear(); + parser.Parse(accesses, "/studies", noGetArguments.GetMap()); + ASSERT_TRUE(IsAccessing(accesses, AccessLevel_System, "/studies")); + + accesses.clear(); + parser.Parse(accesses, "/patients", noGetArguments.GetMap()); + ASSERT_TRUE(IsAccessing(accesses, AccessLevel_System, "/patients")); + ///////////////////////// dicom-web accesses.clear();