1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-04 20:50:21 -05:00

Always instantiate Permissions object

To follow current logic
This commit is contained in:
Thomas Rittson 2025-04-01 15:36:42 +10:00
parent d1fff74504
commit cff36e0462
No known key found for this signature in database
GPG Key ID: CDDDA03861C35E27

View File

@ -63,7 +63,7 @@ public static class ClaimsExtensions
AccessSecretsManager = hasClaim(Claims.SecretsManagerAccess),
Permissions = role == OrganizationUserType.Custom
? GetPermissionsFromClaims(hasClaim)
: null
: new Permissions()
};
}