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:
parent
6e4df8cb0b
commit
259d370edd
@ -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
|
||||
|
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user