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

logic tweaks for group assignments

This commit is contained in:
Kyle Spearrin
2017-05-15 16:37:56 -04:00
parent fc12d73aae
commit 6958a3fda5
3 changed files with 26 additions and 14 deletions

View File

@ -8,8 +8,7 @@ namespace Bit.Core.Models.Api
public class ImportOrganizationUsersRequestModel
{
public Group[] Groups { get; set; }
public User[] NewUsers { get; set; }
public User[] RemoveUsers { get; set; }
public User[] Users { get; set; }
public class Group
{
@ -37,6 +36,7 @@ namespace Bit.Core.Models.Api
[Required]
[EmailAddress]
public string Email { get; set; }
public bool Disabled { get; set; }
}
}
}