mirror of
https://github.com/bitwarden/android.git
synced 2026-08-01 18:53:39 -05:00
PM-40317: bug: All users must follow Master Password policies (#7163)
This commit is contained in:
@@ -158,6 +158,7 @@ class PolicyManagerImpl(
|
||||
this.organizationUserPolicyContext.role == OrganizationUserType.OWNER
|
||||
}
|
||||
|
||||
PolicyType.MASTER_PASSWORD,
|
||||
PolicyType.PASSWORD_GENERATOR,
|
||||
PolicyType.REMOVE_UNLOCK_WITH_PIN,
|
||||
PolicyType.RESTRICTED_ITEM_TYPES,
|
||||
|
||||
@@ -419,7 +419,7 @@ class PolicyManagerTest {
|
||||
every { authDiskSource.getOrganizations(USER_ID) } returns null
|
||||
|
||||
assertEquals(
|
||||
emptyList<SyncResponseJson.Policy>(),
|
||||
emptyList<PolicyView>(),
|
||||
policyManager.getUserPolicies(
|
||||
userId = USER_ID,
|
||||
type = PolicyType.ORGANIZATION_DATA_OWNERSHIP,
|
||||
|
||||
Reference in New Issue
Block a user