1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +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

@@ -10,6 +10,7 @@ export class EventResponse extends BaseResponse {
cipherId: string;
collectionId: string;
groupId: string;
policyId: string;
organizationUserId: string;
actingUserId: string;
date: string;
@@ -24,6 +25,7 @@ export class EventResponse extends BaseResponse {
this.cipherId = this.getResponseProperty('CipherId');
this.collectionId = this.getResponseProperty('CollectionId');
this.groupId = this.getResponseProperty('GroupId');
this.policyId = this.getResponseProperty('PolicyId');
this.organizationUserId = this.getResponseProperty('OrganizationUserId');
this.actingUserId = this.getResponseProperty('ActingUserId');
this.date = this.getResponseProperty('Date');