You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
679 B
23 lines
679 B
3 years ago
|
using Volo.Abp.Reflection;
|
||
|
|
||
|
namespace Sanhe.Abp.MenuManagement.Permissions;
|
||
|
|
||
|
public class MenuManagementPermissions
|
||
|
{
|
||
|
public const string GroupName = "MenuManagement";
|
||
|
|
||
|
public static class Menus
|
||
|
{
|
||
|
public const string Default = GroupName + ".Menus";
|
||
|
public const string Create = Default + ".Create";
|
||
|
public const string Update = Default + ".Update";
|
||
|
public const string Delete = Default + ".Delete";
|
||
|
public const string CreatePermission = Default + ".CreatePermission";
|
||
|
}
|
||
|
|
||
|
public static string[] GetAll()
|
||
|
{
|
||
|
return ReflectionHelper.GetPublicConstantsRecursively(typeof(MenuManagementPermissions));
|
||
|
}
|
||
|
}
|