1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

Add usesKeyConnector to organizationUserUserDetailsResponseModel (#1726)

This commit is contained in:
Oscar Hinton
2021-11-19 15:04:23 +01:00
committed by GitHub
parent cfd6123974
commit be164967b3

View File

@ -41,6 +41,7 @@ namespace Bit.Core.Models.Api
AccessAll = organizationUser.AccessAll;
Permissions = CoreHelpers.LoadClassFromJsonData<Permissions>(organizationUser.Permissions);
ResetPasswordEnrolled = !string.IsNullOrEmpty(organizationUser.ResetPasswordKey);
UsesKeyConnector = organizationUser.UsesKeyConnector;
}
public string Id { get; set; }
@ -50,6 +51,7 @@ namespace Bit.Core.Models.Api
public bool AccessAll { get; set; }
public Permissions Permissions { get; set; }
public bool ResetPasswordEnrolled { get; set; }
public bool UsesKeyConnector { get; set; }
}
public class OrganizationUserDetailsResponseModel : OrganizationUserResponseModel