1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

SG-680 - Update Organization model to include a canManageDomainVerification check

This commit is contained in:
Jared Snider
2022-12-02 17:02:02 -05:00
parent 729d21d3c4
commit 36b2823e82

View File

@@ -174,6 +174,10 @@ export class Organization {
return (this.isAdmin || this.permissions.manageSso) && this.useSso;
}
get canManageDomainVerification() {
return (this.isAdmin || this.permissions.manageSso) && this.useSso;
}
get canManageScim() {
return (this.isAdmin || this.permissions.manageScim) && this.useScim;
}