1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

add usepolicies to org profile object

This commit is contained in:
Kyle Spearrin
2020-01-15 15:17:32 -05:00
parent 0790f9859e
commit ff8731c82f
4 changed files with 38 additions and 0 deletions

View File

@ -10,6 +10,7 @@ namespace Bit.Core.Models.Api
{
Id = organization.OrganizationId.ToString();
Name = organization.Name;
UsePolicies = organization.UsePolicies;
UseGroups = organization.UseGroups;
UseDirectory = organization.UseDirectory;
UseEvents = organization.UseEvents;
@ -29,6 +30,7 @@ namespace Bit.Core.Models.Api
public string Id { get; set; }
public string Name { get; set; }
public bool UsePolicies { get; set; }
public bool UseGroups { get; set; }
public bool UseDirectory { get; set; }
public bool UseEvents { get; set; }

View File

@ -7,6 +7,7 @@ namespace Bit.Core.Models.Data
public Guid OrganizationId { get; set; }
public Guid? UserId { get; set; }
public string Name { get; set; }
public bool UsePolicies { get; set; }
public bool UseGroups { get; set; }
public bool UseDirectory { get; set; }
public bool UseEvents { get; set; }