comparison Plugin/DefaultConfiguration.json @ 95:dff72e397f90

fix standard configuration 'orthanc-explorer-2' for TokenGetArguments
author Alain Mazy <am@osimis.io>
date Wed, 26 Apr 2023 12:05:32 +0200
parents 50b18e7a254d
children 760fd9ad7007
comparison
equal deleted inserted replaced
93:90582b3bf0cf 95:dff72e397f90
49 49
50 // Definition of required "user-permissions". This can be fully customized. 50 // Definition of required "user-permissions". This can be fully customized.
51 // You may define other permissions yourself as long as they match the permissions 51 // You may define other permissions yourself as long as they match the permissions
52 // provided in the user-profile route implemented by the auth-service. 52 // provided in the user-profile route implemented by the auth-service.
53 // You may test your regex in https://regex101.com/ by selecting .NET (C#) and removing the leading ^ and trailing $ 53 // You may test your regex in https://regex101.com/ by selecting .NET (C#) and removing the leading ^ and trailing $
54 // The default configuration is suitable for Orthanc-Explorer-2 (see TBD sample) 54 // The default configuration is suitable for Orthanc-Explorer-2 (see https://github.com/orthanc-team/orthanc-auth-service)
55 "Permissions" : [ 55 "Permissions" : [
56 ["post", "^/auth/tokens/decode$", ""], 56 ["post", "^/auth/tokens/decode$", ""],
57 ["post", "^/tools/lookup$", ""], // currently used to authorize downloads in Stone (to map the StudyInstanceUID into an OrthancID. Not ideal -> we should define a new API that has the resource ID in the path to be able to check it at resource level) but, on another hand, you do not get any Patient information from this route 57 ["post", "^/tools/lookup$", ""], // currently used to authorize downloads in Stone (to map the StudyInstanceUID into an OrthancID. Not ideal -> we should define a new API that has the resource ID in the path to be able to check it at resource level) but, on another hand, you do not get any Patient information from this route
58 58
59 // elemental browsing in OE2 59 // elemental browsing in OE2