mirror of
https://github.com/bitwarden/server.git
synced 2025-04-22 05:25:10 -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;
|
UseTotp = organization.UseTotp;
|
||||||
Use2fa = organization.Use2fa;
|
Use2fa = organization.Use2fa;
|
||||||
UsersGetPremium = organization.UsersGetPremium;
|
UsersGetPremium = organization.UsersGetPremium;
|
||||||
|
SelfHost = organization.SelfHost;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
@ -58,6 +59,7 @@ namespace Bit.Core.Models.Api
|
|||||||
public bool UseTotp { get; set; }
|
public bool UseTotp { get; set; }
|
||||||
public bool Use2fa { get; set; }
|
public bool Use2fa { get; set; }
|
||||||
public bool UsersGetPremium { get; set; }
|
public bool UsersGetPremium { get; set; }
|
||||||
|
public bool SelfHost { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class OrganizationSubscriptionResponseModel : OrganizationResponseModel
|
public class OrganizationSubscriptionResponseModel : OrganizationResponseModel
|
||||||
|
@ -16,6 +16,7 @@ namespace Bit.Core.Models.Api
|
|||||||
UseTotp = organization.UseTotp;
|
UseTotp = organization.UseTotp;
|
||||||
Use2fa = organization.Use2fa;
|
Use2fa = organization.Use2fa;
|
||||||
UsersGetPremium = organization.UsersGetPremium;
|
UsersGetPremium = organization.UsersGetPremium;
|
||||||
|
SelfHost = organization.SelfHost;
|
||||||
Seats = organization.Seats;
|
Seats = organization.Seats;
|
||||||
MaxCollections = organization.MaxCollections;
|
MaxCollections = organization.MaxCollections;
|
||||||
MaxStorageGb = organization.MaxStorageGb;
|
MaxStorageGb = organization.MaxStorageGb;
|
||||||
@ -33,6 +34,7 @@ namespace Bit.Core.Models.Api
|
|||||||
public bool UseTotp { get; set; }
|
public bool UseTotp { get; set; }
|
||||||
public bool Use2fa { get; set; }
|
public bool Use2fa { get; set; }
|
||||||
public bool UsersGetPremium { get; set; }
|
public bool UsersGetPremium { get; set; }
|
||||||
|
public bool SelfHost { get; set; }
|
||||||
public int Seats { get; set; }
|
public int Seats { get; set; }
|
||||||
public int MaxCollections { get; set; }
|
public int MaxCollections { get; set; }
|
||||||
public short? MaxStorageGb { get; set; }
|
public short? MaxStorageGb { get; set; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user