comparison Plugin/DefaultConfiguration.json @ 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 9f686ee4b158
children e406ef204e3a
comparison
equal deleted inserted replaced
156:43b77aa34468 157:9434bb40e27c
60 // elemental browsing in OE2 60 // elemental browsing in OE2
61 ["post", "^/tools/find$", "all|view"], 61 ["post", "^/tools/find$", "all|view"],
62 ["get" , "^/(patients|studies|series|instances)(|/)", "all|view"], 62 ["get" , "^/(patients|studies|series|instances)(|/)", "all|view"],
63 ["get" , "^/statistics$", "all|view"], 63 ["get" , "^/statistics$", "all|view"],
64 ["get" , "^/changes$", "all|view"], 64 ["get" , "^/changes$", "all|view"],
65 ["get" , "^/system$", "all|view"],
66 ["get" , "^/plugins$", "all|view"],
67 ["get" , "^/plugins/(.*)$", "all|view"],
65 68
66 // 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) 69 // 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)
67 // (a user must have access to the route + have an authorized label to access the resource) 70 // (a user must have access to the route + have an authorized label to access the resource)
68 ["get" , "SINGLE_RESOURCE_PATTERNS", "all|view"], 71 ["get" , "SINGLE_RESOURCE_PATTERNS", "all|view"],
69 72