comparison Plugin/IAuthorizationService.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
comparison
equal deleted inserted replaced
188:c4b908970ae4 194:85859ec3aa7e
108 const std::string& tokenValue) = 0; 108 const std::string& tokenValue) = 0;
109 109
110 virtual bool HasUserProfile() const = 0; 110 virtual bool HasUserProfile() const = 0;
111 virtual bool HasCreateToken() const = 0; 111 virtual bool HasCreateToken() const = 0;
112 virtual bool HasTokenValidation() const = 0; 112 virtual bool HasTokenValidation() const = 0;
113
114 virtual bool GetSettingsRoles(Json::Value& roles) = 0;
115 virtual bool UpdateSettingsRoles(Json::Value& response,
116 const Json::Value& roles) = 0;
117
113 }; 118 };
114 } 119 }