enhance dynamic authorization policies to support default role specification
This commit is contained in:
@ -74,6 +74,8 @@ namespace Oqtane.Shared
|
||||
|
||||
public static readonly string MauiUserAgent = "MAUI";
|
||||
|
||||
public static readonly string RequireEntityId = "RequireEntityId";
|
||||
|
||||
// Obsolete constants
|
||||
|
||||
const string RoleObsoleteMessage = "Use the corresponding member from Oqtane.Shared.RoleNames";
|
||||
|
@ -1,11 +1,15 @@
|
||||
namespace Oqtane.Shared
|
||||
namespace Oqtane.Shared
|
||||
{
|
||||
public class PermissionNames
|
||||
{
|
||||
public const string Browse = "Browse";
|
||||
// UI permissions
|
||||
public const string View = "View";
|
||||
public const string Edit = "Edit";
|
||||
public const string Browse = "Browse";
|
||||
public const string Utilize = "Utilize";
|
||||
|
||||
// API permissions
|
||||
public const string Read = "Read";
|
||||
public const string Write = "Write";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user