1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

add useOrganizationDomains (#14023)

This commit is contained in:
Brandon Treston
2025-05-16 12:52:30 -04:00
committed by GitHub
parent 32727e23db
commit 27042e8023
5 changed files with 9 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ export class Organization {
use2fa: boolean;
useApi: boolean;
useSso: boolean;
useOrganizationDomains: boolean;
useKeyConnector: boolean;
useScim: boolean;
useCustomPermissions: boolean;
@@ -111,6 +112,7 @@ export class Organization {
this.use2fa = obj.use2fa;
this.useApi = obj.useApi;
this.useSso = obj.useSso;
this.useOrganizationDomains = obj.useOrganizationDomains;
this.useKeyConnector = obj.useKeyConnector;
this.useScim = obj.useScim;
this.useCustomPermissions = obj.useCustomPermissions;
@@ -281,7 +283,7 @@ export class Organization {
}
get canManageDomainVerification() {
return (this.isAdmin || this.permissions.manageSso) && this.useSso;
return (this.isAdmin || this.permissions.manageSso) && this.useOrganizationDomains;
}
get canManageScim() {