1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 21:33:36 +00:00

[Policy] Personal Ownership (#1166)

* Initial commit of personal ownership policy

* Updated logic for returning from allowing cipher creation from notification

* fixed small edge case when user in one org // adjusted error message to match all platforms

* Removed test code
This commit is contained in:
Vincent Salucci
2020-12-14 08:46:54 -06:00
committed by GitHub
parent 0dd87bbf78
commit 6e40b7f25b
8 changed files with 74 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ namespace Bit.Core.Models.Data
UseTotp = response.UseTotp;
Use2fa = response.Use2fa;
UseApi = response.UseApi;
UsePolicies = response.UsePolicies;
SelfHost = response.SelfHost;
UsersGetPremium = response.UsersGetPremium;
Seats = response.Seats;
@@ -38,6 +39,7 @@ namespace Bit.Core.Models.Data
public bool UseTotp { get; set; }
public bool Use2fa { get; set; }
public bool UseApi { get; set; }
public bool UsePolicies { get; set; }
public bool SelfHost { get; set; }
public bool UsersGetPremium { get; set; }
public int Seats { get; set; }