mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
add useOrganizationDomains (#14023)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user