1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

Merge pull request #1505 from bitwarden/Permissions

Implemented Custom role and permissions
This commit is contained in:
Addison Beck
2021-01-13 10:00:13 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

2
jslib

Submodule jslib updated: cea09a22e5...6ac6df75d7

View File

@@ -478,7 +478,7 @@ export default class RuntimeBackground {
for (const policy of personalOwnershipPolicies) {
if (policy.enabled) {
const org = await this.userService.getOrganization(policy.organizationId);
if (org != null && org.enabled && org.usePolicies && !org.isAdmin
if (org != null && org.enabled && org.usePolicies && !org.canManagePolicies
&& org.status === OrganizationUserStatusType.Confirmed) {
return false;
}