Mercurial > hg > orthanc-authorization
changeset 299:464d81772f98 default tip
new permissions for worklists + prometheus
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Thu, 23 Oct 2025 13:47:48 +0200 |
| parents | 4242976437be |
| children | |
| files | NEWS Plugin/DefaultConfiguration.json |
| diffstat | 2 files changed, 15 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Fri Oct 10 09:36:30 2025 +0200 +++ b/NEWS Thu Oct 23 13:47:48 2025 +0200 @@ -1,3 +1,10 @@ +Pending changes in the mainline +=============================== + +* New default permissions for worklists +* New default permissions for tools/metrics-prometheus + + 2025-10-10 - v 0.10.2 =====================
--- a/Plugin/DefaultConfiguration.json Fri Oct 10 09:36:30 2025 +0200 +++ b/Plugin/DefaultConfiguration.json Thu Oct 23 13:47:48 2025 +0200 @@ -67,10 +67,13 @@ ["post", "^/tools/count-resources$", "all|view"], ["get" , "^/(patients|studies|series|instances)(|/)", "all|view"], ["get" , "^/statistics$", "all|view"], + ["get" , "^/tools/metrics-prometheus$", "all|view"], ["get" , "^/changes$", "all|view"], ["get" , "^/system$", "all|view"], ["get" , "^/plugins$", "all|view"], ["get" , "^/plugins/(.*)$", "all|view"], + ["get" , "^/worklists$", "all|view|worklists"], + ["get" , "^/worklists/(.*)$", "all|view|worklists"], // single resources patterns (SINGLE_RESOURCE_PATTERNS is an alias for all single resource patterns defined in https://orthanc.uclouvain.be/hg/orthanc-authorization/file/tip/Plugin/DefaultAuthorizationParser.cpp) // (a user must have access to the route + have an authorized label to access the resource) @@ -137,7 +140,11 @@ // add-delete modalities through the Rest API ["put", "^/modalities/(.*)$", "admin-permissions"], - ["delete", "^/modalities/(.*)$", "admin-permissions"] + ["delete", "^/modalities/(.*)$", "admin-permissions"], + + // create-delete worklists + ["post" , "^/worklists/create$", "all|worklists"], + ["delete" , "^/worklists/(.*)$", "all|worklists"] ] // If you just need to add a few permissions, while preserving the default ones,
