mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
usePolicies on org profile response
This commit is contained in:
@@ -6,6 +6,7 @@ import { OrganizationUserType } from '../../enums/organizationUserType';
|
|||||||
export class ProfileOrganizationResponse extends BaseResponse {
|
export class ProfileOrganizationResponse extends BaseResponse {
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
|
usePolicies: boolean;
|
||||||
useGroups: boolean;
|
useGroups: boolean;
|
||||||
useDirectory: boolean;
|
useDirectory: boolean;
|
||||||
useEvents: boolean;
|
useEvents: boolean;
|
||||||
@@ -26,6 +27,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
|
|||||||
super(response);
|
super(response);
|
||||||
this.id = this.getResponseProperty('Id');
|
this.id = this.getResponseProperty('Id');
|
||||||
this.name = this.getResponseProperty('Name');
|
this.name = this.getResponseProperty('Name');
|
||||||
|
this.usePolicies = this.getResponseProperty('UsePolicies');
|
||||||
this.useGroups = this.getResponseProperty('UseGroups');
|
this.useGroups = this.getResponseProperty('UseGroups');
|
||||||
this.useDirectory = this.getResponseProperty('UseDirectory');
|
this.useDirectory = this.getResponseProperty('UseDirectory');
|
||||||
this.useEvents = this.getResponseProperty('UseEvents');
|
this.useEvents = this.getResponseProperty('UseEvents');
|
||||||
|
|||||||
Reference in New Issue
Block a user