|
|
@ -1,4 +1,5 @@ |
|
|
using System; |
|
|
using System; |
|
|
|
|
|
using Volo.Abp.Reflection; |
|
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.Permissions |
|
|
namespace MyCompanyName.MyProjectName.Permissions |
|
|
{ |
|
|
{ |
|
|
@ -12,7 +13,7 @@ namespace MyCompanyName.MyProjectName.Permissions |
|
|
public static string[] GetAll() |
|
|
public static string[] GetAll() |
|
|
{ |
|
|
{ |
|
|
//Return an array of all permissions
|
|
|
//Return an array of all permissions
|
|
|
return Array.Empty<string>(); |
|
|
return ReflectionHelper.GetPublicConstantsRecursively(typeof(MyProjectNamePermissions)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |