Mercurial > hg > orthanc-authorization
changeset 262:624172833314 inbox
integration default->inbox
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 Aug 2025 15:29:09 +0200 |
parents | 95b22ee07bc3 (current diff) c41542e14885 (diff) |
children | b3bd2e74af1f |
files | Plugin/AuthorizationWebService.h Plugin/CachedAuthorizationService.h |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugin/AuthorizationWebService.h Thu Jul 24 19:49:26 2025 +0200 +++ b/Plugin/AuthorizationWebService.h Fri Aug 08 15:29:09 2025 +0200 @@ -102,9 +102,10 @@ const std::string& tokenKey, const std::string& tokenValue) ORTHANC_OVERRIDE; - virtual bool GetSettingsRoles(Json::Value& roles); + virtual bool GetSettingsRoles(Json::Value& roles) ORTHANC_OVERRIDE; + virtual bool UpdateSettingsRoles(Json::Value& response, - const Json::Value& roles); + const Json::Value& roles) ORTHANC_OVERRIDE; static void ToJson(Json::Value& output, const UserProfile& profile);
--- a/Plugin/CachedAuthorizationService.h Thu Jul 24 19:49:26 2025 +0200 +++ b/Plugin/CachedAuthorizationService.h Fri Aug 08 15:29:09 2025 +0200 @@ -110,12 +110,13 @@ tokenValue); } - virtual bool GetSettingsRoles(Json::Value& roles) + virtual bool GetSettingsRoles(Json::Value& roles) ORTHANC_OVERRIDE { return decorated_->GetSettingsRoles(roles); } - virtual bool UpdateSettingsRoles(Json::Value& response, const Json::Value& roles) + virtual bool UpdateSettingsRoles(Json::Value& response, + const Json::Value& roles) ORTHANC_OVERRIDE { return decorated_->UpdateSettingsRoles(response, roles); }