diff --git a/libs/common/src/admin-console/models/domain/organization.spec.ts b/libs/common/src/admin-console/models/domain/organization.spec.ts index cc158c71056..ddf1010eea9 100644 --- a/libs/common/src/admin-console/models/domain/organization.spec.ts +++ b/libs/common/src/admin-console/models/domain/organization.spec.ts @@ -111,28 +111,6 @@ describe("Organization", () => { expect(organization.canManageDeviceApprovals).toBe(false); }); - it("should return false when ssoEnabled is false", () => { - data.type = OrganizationUserType.Admin; - data.useSso = true; - data.ssoEnabled = false; - data.ssoMemberDecryptionType = MemberDecryptionType.TrustedDeviceEncryption; - - const organization = new Organization(data); - - expect(organization.canManageDeviceApprovals).toBe(false); - }); - - it("should return false when ssoMemberDecryptionType is not TrustedDeviceEncryption", () => { - data.type = OrganizationUserType.Admin; - data.useSso = true; - data.ssoEnabled = true; - data.ssoMemberDecryptionType = MemberDecryptionType.MasterPassword; - - const organization = new Organization(data); - - expect(organization.canManageDeviceApprovals).toBe(false); - }); - it("should return true when admin has all required SSO settings enabled", () => { data.type = OrganizationUserType.Admin; data.useSso = true; diff --git a/libs/common/src/admin-console/models/domain/organization.ts b/libs/common/src/admin-console/models/domain/organization.ts index 88895383876..1372150bd81 100644 --- a/libs/common/src/admin-console/models/domain/organization.ts +++ b/libs/common/src/admin-console/models/domain/organization.ts @@ -309,12 +309,7 @@ export class Organization { } get canManageDeviceApprovals() { - return ( - (this.isAdmin || this.permissions.manageResetPassword) && - this.useSso && - this.ssoEnabled && - this.ssoMemberDecryptionType === MemberDecryptionType.TrustedDeviceEncryption - ); + return (this.isAdmin || this.permissions.manageResetPassword) && this.useSso; } get isExemptFromPolicies() {