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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user