Files
mixtape/zero.Core/Identity/Permissions/PermissionCollection.cs
T

28 lines
619 B
C#

using System.Collections.Generic;
namespace zero.Core.Identity
{
public class PermissionCollection
{
/// <summary>
/// Alias for querying
/// </summary>
public string Alias { get; set; }
/// <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>();
}
}