2020-04-27 15:49:14 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace zero.Core.Identity
|
|
|
|
|
{
|
|
|
|
|
public class PermissionCollection
|
|
|
|
|
{
|
2020-05-13 14:06:11 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Alias for querying
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Alias { get; set; }
|
|
|
|
|
|
2020-04-27 15:49:14 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the group
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Label { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Optional description text
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Individual permissions (stored as claims on the user identity)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public IList<Permission> Items { get; set; } = new List<Permission>();
|
|
|
|
|
}
|
|
|
|
|
}
|