From cff36e046204cf93c4579654e3863c9683402808 Mon Sep 17 00:00:00 2001 From: Thomas Rittson Date: Tue, 1 Apr 2025 15:36:42 +1000 Subject: [PATCH] Always instantiate Permissions object To follow current logic --- src/Api/AdminConsole/Authorization/ClaimsExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/AdminConsole/Authorization/ClaimsExtensions.cs b/src/Api/AdminConsole/Authorization/ClaimsExtensions.cs index 2921ab2d52..51d636fb77 100644 --- a/src/Api/AdminConsole/Authorization/ClaimsExtensions.cs +++ b/src/Api/AdminConsole/Authorization/ClaimsExtensions.cs @@ -63,7 +63,7 @@ public static class ClaimsExtensions AccessSecretsManager = hasClaim(Claims.SecretsManagerAccess), Permissions = role == OrganizationUserType.Custom ? GetPermissionsFromClaims(hasClaim) - : null + : new Permissions() }; }