bool AuthorizationSession::checkAuthorization(const std::string& resource, ActionSet actions) { return checkAuthForPrivilege(Privilege(resource, actions)).isOK(); }
bool AuthorizationManager::checkAuthorization(const std::string& resource, ActionType action) { return checkAuthForPrivilege(Privilege(resource, action)).isOK(); }