Update #43: Disco Administrators are configurable

This commit is contained in:
Gary Sharp
2014-04-11 19:57:51 +10:00
parent e984221c95
commit 41dc002ef8
17 changed files with 742 additions and 111 deletions
@@ -11,10 +11,10 @@ namespace Disco.Services.Authorization.Roles
{
public class RoleToken : IRoleToken
{
public AuthorizationRole Role { get; set; }
public AuthorizationRole Role { get; internal set; }
internal HashSet<string> SubjectIdHashes { get; set; }
public List<string> SubjectIds { get; set; }
public RoleClaims Claims { get; set; }
public List<string> SubjectIds { get; internal set; }
public RoleClaims Claims { get; internal set; }
public static RoleToken FromAuthorizationRole(AuthorizationRole Role)
{