1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-08 03:23:50 +00:00

[AC-1638] Disallow Secrets Manager for MSP-managed organizations (#6392)

* Hide Add SM component on sub page for MSPs

* Hide Add SM component on create org page for MSPs

* Use hasProvider instead of providerType
This commit is contained in:
Thomas Rittson
2023-10-13 00:56:42 +10:00
committed by GitHub
parent 84bafe5e73
commit a6b725d08a
3 changed files with 9 additions and 4 deletions

View File

@@ -115,6 +115,7 @@ export class OrganizationSubscriptionCloudComponent implements OnInit, OnDestroy
this.showSecretsManagerSubscribe =
this.userOrg.canEditSubscription &&
!this.userOrg.hasProvider &&
!this.userOrg.useSecretsManager &&
!this.subscription?.cancelled &&
!this.subscriptionMarkedForCancel;