1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-11 08:08:14 -05:00

add self host permission

This commit is contained in:
Kyle Spearrin 2019-03-01 09:33:23 -05:00
parent 6e4df8cb0b
commit 259d370edd
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,7 @@ namespace Bit.Core.Models.Api
UseTotp = organization.UseTotp;
Use2fa = organization.Use2fa;
UsersGetPremium = organization.UsersGetPremium;
SelfHost = organization.SelfHost;
}
public string Id { get; set; }
@ -58,6 +59,7 @@ namespace Bit.Core.Models.Api
public bool UseTotp { get; set; }
public bool Use2fa { get; set; }
public bool UsersGetPremium { get; set; }
public bool SelfHost { get; set; }
}
public class OrganizationSubscriptionResponseModel : OrganizationResponseModel

View File

@ -16,6 +16,7 @@ namespace Bit.Core.Models.Api
UseTotp = organization.UseTotp;
Use2fa = organization.Use2fa;
UsersGetPremium = organization.UsersGetPremium;
SelfHost = organization.SelfHost;
Seats = organization.Seats;
MaxCollections = organization.MaxCollections;
MaxStorageGb = organization.MaxStorageGb;
@ -33,6 +34,7 @@ namespace Bit.Core.Models.Api
public bool UseTotp { get; set; }
public bool Use2fa { get; set; }
public bool UsersGetPremium { get; set; }
public bool SelfHost { get; set; }
public int Seats { get; set; }
public int MaxCollections { get; set; }
public short? MaxStorageGb { get; set; }