Prepare Data History Provider 2.7 integration update
- modularize Citrix and agent integrations and add remote desktop endpoints - extend ticket overview, ticket links, token validation, and staged relation handling - update configuration, licensing, project, signing, and publish artifacts
This commit is contained in:
@@ -147,6 +147,13 @@ namespace F4SDwebService
|
||||
if (_roles?.Count() > 0)
|
||||
_retVal.Roles = _roles;
|
||||
|
||||
const string cockpitUserRole = "Cockpit.User";
|
||||
if (!_roles.Contains(cockpitUserRole))
|
||||
{
|
||||
LogEntry($"bearer roles does not contain the role \"{cockpitUserRole}\"", LogLevels.Debug);
|
||||
return null;
|
||||
}
|
||||
|
||||
if (cLogManager.DefaultLogger.IsDebug)
|
||||
{
|
||||
var _str = JsonConvert.SerializeObject(_retVal, Formatting.Indented);
|
||||
|
||||
Reference in New Issue
Block a user