mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
[AC-1529] Update settings tab visibility to include device approvals (#5855)
* fix: update show org settings function, add explicit canManageDeviceApprovals helper, refs AC-1529 * fix: add device approval in org-redirect guard and update passed permission, refs AC-1529
This commit is contained in:
@@ -62,7 +62,7 @@ const routes: Routes = [
|
||||
canAccessFeature(FeatureFlag.TrustedDeviceEncryption),
|
||||
],
|
||||
data: {
|
||||
organizationPermissions: (org: Organization) => org.canManageUsersPassword,
|
||||
organizationPermissions: (org: Organization) => org.canManageDeviceApprovals,
|
||||
titleId: "deviceApprovals",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user