1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[PM-28216] Add org ability check for one time dialog (#17372)

* add org ability check for one time dialog

* exclude providers (cautionary step) and add tests
This commit is contained in:
Brandon Treston
2025-11-14 11:43:10 -05:00
committed by GitHub
parent 0925f4fa78
commit 099a4a0f03
3 changed files with 124 additions and 1 deletions

View File

@@ -1623,7 +1623,7 @@ export class VaultComponent<C extends CipherViewLike> implements OnInit, OnDestr
!policyEnabled &&
autoConfirmState.showSetupDialog &&
!!organization &&
(organization.canManageUsers || organization.canManagePolicies);
organization.canEnableAutoConfirmPolicy;
if (showDialog) {
await this.openAutoConfirmFeatureDialog(organization);