Mercurial > hg > orthanc-authorization
diff Plugin/CachedAuthorizationService.h @ 194:85859ec3aa7e
added support for roles/permissions edition
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 14 Jun 2024 16:26:53 +0200 |
parents | c4b908970ae4 |
children | 2f1e872e8eaa |
line wrap: on
line diff
--- a/Plugin/CachedAuthorizationService.h Thu May 30 21:59:01 2024 +0200 +++ b/Plugin/CachedAuthorizationService.h Fri Jun 14 16:26:53 2024 +0200 @@ -106,5 +106,15 @@ tokenValue); } + virtual bool GetSettingsRoles(Json::Value& roles) + { + return decorated_->GetSettingsRoles(roles); + } + + virtual bool UpdateSettingsRoles(Json::Value& response, const Json::Value& roles) + { + return decorated_->UpdateSettingsRoles(response, roles); + } + }; }