1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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