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:
parent
d1fff74504
commit
cff36e0462
@ -63,7 +63,7 @@ public static class ClaimsExtensions
|
||||
AccessSecretsManager = hasClaim(Claims.SecretsManagerAccess),
|
||||
Permissions = role == OrganizationUserType.Custom
|
||||
? GetPermissionsFromClaims(hasClaim)
|
||||
: null
|
||||
: new Permissions()
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user