changeset 100:760fd9ad7007

new default permissions for labels
author Alain Mazy <am@osimis.io>
date Mon, 12 Jun 2023 16:07:24 +0200
parents a52e634e4372
children 4c659d5cac9b
files NEWS Plugin/DefaultConfiguration.json
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Mon May 22 09:09:52 2023 +0200
+++ b/NEWS	Mon Jun 12 16:07:24 2023 +0200
@@ -1,3 +1,4 @@
+* new default permissions for labels
 * Fix parsing of dicom-web/studies/../series/../instances/../bulk/.. routes
 
 2023-05-15 - v 0.5.2
--- a/Plugin/DefaultConfiguration.json	Mon May 22 09:09:52 2023 +0200
+++ b/Plugin/DefaultConfiguration.json	Mon Jun 12 16:07:24 2023 +0200
@@ -91,6 +91,12 @@
             ["post", "^/(patients|studies|series|instances)/([a-f0-9-]+)/modify(.*)$", "all|modify"],
             ["post", "^/(patients|studies|series|instances)/([a-f0-9-]+)/anonymize(.*)$", "all|anonymize"],
 
+            // labels
+            ["get", "^/tools/labels$", "all|view|edit-labels"],
+            ["get" , "^/(patients|studies|series|instances)/([a-f0-9-]+)/labels$", "all|view"],
+            ["put" , "^/(patients|studies|series|instances)/([a-f0-9-]+)/labels/(.*)$", "all|edit-labels"],
+            ["delete" , "^/(patients|studies|series|instances)/([a-f0-9-]+)/labels/(.*)$", "all|edit-labels"],
+
             // deletes
             ["delete" , "^/(patients|studies|series|instances)/([a-f0-9-]+)$", "all|delete"],
             ["post" , "^/tools/bulk-delete$", "all|delete"],