1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

[Policy] Personal Ownership (#213)

* Initial commit of personal ownership enforcement

* Updated policy type enum

* Sync'd eventType for Policy_Updated with server enum value

* Added policyId to eventResponse model

* Removed explicit typing
This commit is contained in:
Vincent Salucci
2020-12-08 10:10:15 -06:00
committed by GitHub
parent dcbd09e736
commit 2d62e10d98
4 changed files with 29 additions and 4 deletions

View File

@@ -44,7 +44,5 @@ export enum EventType {
Organization_PurgedVault = 1601,
// Organization_ClientExportedVault = 1602,
Policy_Created = 1700,
Policy_Updated = 1701,
Policy_Deleted = 1702,
Policy_Updated = 1700,
}

View File

@@ -4,4 +4,5 @@ export enum PolicyType {
PasswordGenerator = 2, // Sets minimum requirements/default type for generated passwords/passphrases
SingleOrg = 3, // Allows users to only be apart of one organization
RequireSso = 4, // Requires users to authenticate with SSO
PersonalOwnership = 5, // Disables personal vault ownership for adding/cloning items
}