Mercurial > hg > orthanc-authorization
changeset 157:9434bb40e27c
The default permissions have been updated to handle /system & /plugins/...
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 25 Mar 2024 13:02:34 +0100 |
parents | 43b77aa34468 |
children | 1bc074f956f1 12f23fcf3ba6 |
files | NEWS Plugin/DefaultConfiguration.json |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Fri Mar 22 15:09:44 2024 +0100 +++ b/NEWS Mon Mar 25 13:02:34 2024 +0100 @@ -11,6 +11,7 @@ on studies that have at least one authorized_labels. * The GET argument tokens are now also added as HTTP headers in the query to the auth-service (this was already done only for Header tokens). +* The default permissions have been updated to handle /system & /plugins/... 2024-02-16 - v 0.7.0
--- a/Plugin/DefaultConfiguration.json Fri Mar 22 15:09:44 2024 +0100 +++ b/Plugin/DefaultConfiguration.json Mon Mar 25 13:02:34 2024 +0100 @@ -62,6 +62,9 @@ ["get" , "^/(patients|studies|series|instances)(|/)", "all|view"], ["get" , "^/statistics$", "all|view"], ["get" , "^/changes$", "all|view"], + ["get" , "^/system$", "all|view"], + ["get" , "^/plugins$", "all|view"], + ["get" , "^/plugins/(.*)$", "all|view"], // 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)