zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Application/PermissionProviders/ProductPermissions.cs

24 lines
819 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
namespace ZeroFramework.DeviceCenter.Application.PermissionProviders
{
public static class ProductPermissions
{
public const string GroupName = "ProductManager";
public static class Products
{
public const string Default = GroupName + ".Products";
public const string Create = Default + ".Create";
public const string Edit = Default + ".Edit";
public const string Delete = Default + ".Delete";
}
public static class MeasurementUnits
{
public const string Default = GroupName + ".MeasurementUnits";
public const string Create = Default + ".Create";
public const string Edit = Default + ".Edit";
public const string Delete = Default + ".Delete";
}
}
}