diff --git a/WebfrontCore/Middleware/ClaimsPermissionRemoval.cs b/WebfrontCore/Middleware/ClaimsPermissionRemoval.cs index cf470cd4a..83736979f 100644 --- a/WebfrontCore/Middleware/ClaimsPermissionRemoval.cs +++ b/WebfrontCore/Middleware/ClaimsPermissionRemoval.cs @@ -70,7 +70,7 @@ namespace WebfrontCore.Middleware hasAny = _privilegedClientIds.Any(); } - if (hasAny) + if (!hasAny) { var ids = (await _manager.GetClientService().GetPrivilegedClients()) .Select(client => client.ClientId);