features/role-updates #18
@ -1,12 +1,13 @@
|
|||||||
namespace Newsbot.Collector.Api.Domain;
|
namespace Newsbot.Collector.Api.Domain.Consts;
|
||||||
|
|
||||||
public static class Authorization
|
public static class Authorization
|
||||||
{
|
{
|
||||||
public const string AdministratorPolicy = "Administrator";
|
public const string AdministratorPolicy = "Administrator";
|
||||||
|
public const string AdministratorsRole = AdministratorPolicy;
|
||||||
public const string AdministratorClaim = "administrator";
|
public const string AdministratorClaim = "administrator";
|
||||||
|
|
||||||
public const string AdministratorsRole = AdministratorPolicy;
|
|
||||||
|
|
||||||
public const string UserPolicy = "User";
|
public const string UserPolicy = "User";
|
||||||
public const string UsersRole = UserPolicy;
|
public const string UsersRole = UserPolicy;
|
||||||
|
public const string UserClaim = "user";
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user