mirror of
https://github.com/bitwarden/server.git
synced 2025-07-14 22:27:32 -05:00
Always instantiate Permissions object
To follow current logic
This commit is contained in:
@ -63,7 +63,7 @@ public static class ClaimsExtensions
|
||||
AccessSecretsManager = hasClaim(Claims.SecretsManagerAccess),
|
||||
Permissions = role == OrganizationUserType.Custom
|
||||
? GetPermissionsFromClaims(hasClaim)
|
||||
: null
|
||||
: new Permissions()
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user