feature: custom details first-class
custom details (such as those from the UserDetails plugin) can now be more deeply integrated throughtout the system
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using Disco.Models.Services.Authorization;
|
||||
using Disco.Models.Services.Documents;
|
||||
using Disco.Models.Services.Jobs.JobLists;
|
||||
using Disco.Models.Services.Plugins.Details;
|
||||
using Disco.Models.UI.User;
|
||||
using Disco.Web.Models.Shared;
|
||||
using System.Collections.Generic;
|
||||
@@ -27,6 +28,10 @@ namespace Disco.Web.Models.User
|
||||
public IAuthorizationToken AuthorizationToken { get; set; }
|
||||
public IClaimNavigatorItem ClaimNavigator { get; set; }
|
||||
|
||||
public DetailsResult UserDetails { get; set; }
|
||||
public bool HasUserPhoto { get; set; }
|
||||
public Dictionary<string, DetailsResult> AssignedDevicesDetails { get; set; }
|
||||
|
||||
public FancyTreeNode[] ClaimNavigatorFancyTreeNodes
|
||||
{
|
||||
get
|
||||
@@ -55,5 +60,6 @@ namespace Disco.Web.Models.User
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user