20 lines
560 B
C#
20 lines
560 B
C#
using System.Security.Claims;
|
|
|
|
namespace Brizco.Common.Models.Claims;
|
|
public static class ApplicationClaims
|
|
{
|
|
public static ClaimDto ManageProducts { get; } = new ClaimDto
|
|
{
|
|
Type = CustomClaimType.Permission,
|
|
Value = ApplicationPermission.ManageProducts,
|
|
Title = "دسترسی کامل به محصولات",
|
|
Detail = "دسترسی به افزودن و مدیریت محصولات فروشگاه شما"
|
|
};
|
|
|
|
|
|
public static List<Claim> AllClaims = new List<Claim>
|
|
{
|
|
ManageProducts.GetClaim
|
|
};
|
|
}
|