1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

add missing permissions to organization objs

This commit is contained in:
Kyle Spearrin
2018-07-10 09:19:15 -04:00
parent 049e129f36
commit 36ab2ec78b
3 changed files with 40 additions and 0 deletions

View File

@@ -9,6 +9,15 @@ export class OrganizationData {
status: OrganizationUserStatusType;
type: OrganizationUserType;
enabled: boolean;
useGroups: boolean;
useDirectory: boolean;
useEvents: boolean;
useTotp: boolean;
use2fa: boolean;
selfHost: boolean;
usersGetPremium: boolean;
seats: number;
maxCollections: number;
constructor(response: ProfileOrganizationResponse) {
this.id = response.id;
@@ -16,5 +25,14 @@ export class OrganizationData {
this.status = response.status;
this.type = response.type;
this.enabled = response.enabled;
this.useGroups = response.useGroups;
this.useDirectory = response.useDirectory;
this.useEvents = response.useEvents;
this.useTotp = response.useTotp;
this.use2fa = response.use2fa;
this.selfHost = response.selfHost;
this.usersGetPremium = response.usersGetPremium;
this.seats = response.seats;
this.maxCollections = response.maxCollections;
}
}