Mercurial > hg > orthanc-authorization
changeset 289:c84fe50cc125
merge
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Wed, 24 Sep 2025 09:12:36 +0200 |
parents | aea5fcc2b741 (diff) f92134782001 (current diff) |
children | 092ccae9c217 3c35cd6f9958 |
files | |
diffstat | 3 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Tue Sep 23 10:41:15 2025 +0200 +++ b/NEWS Wed Sep 24 09:12:36 2025 +0200 @@ -3,6 +3,7 @@ * New default permissions to add/delete modalities through the Rest API https://discourse.orthanc-server.org/t/managing-modalities-using-the-rest-api-and-keycloak/6137 +* New standard configuration "stl" 2025-08-13 - v 0.10.1
--- a/Plugin/DefaultConfiguration.json Tue Sep 23 10:41:15 2025 +0200 +++ b/Plugin/DefaultConfiguration.json Wed Sep 24 09:12:36 2025 +0200 @@ -44,7 +44,8 @@ // "stone-webviewer", // "orthanc-explorer-2", // "ohif", - // "volview" + // "volview", + // "stl" // ], //"UncheckedResources" : [],
--- a/Plugin/Plugin.cpp Tue Sep 23 10:41:15 2025 +0200 +++ b/Plugin/Plugin.cpp Wed Sep 24 09:12:36 2025 +0200 @@ -2357,6 +2357,13 @@ tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "Authorization")); } + if (standardConfigurations.find("stl") != standardConfigurations.end()) + { + uncheckedFolders_.push_back("/stl/"); + + tokens_.insert(OrthancPlugins::Token(OrthancPlugins::TokenType_HttpHeader, "Authorization")); + } + } std::string checkedLevelString;