forked from ddrilling/AsbCloudServer
CS2-133: Removed mask from Permission property.
This commit is contained in:
parent
d94b2e685e
commit
3aa7bac5e6
@ -54,8 +54,7 @@ namespace AsbCloudWebApi
|
||||
/// Проверка наличия у пользователя разрешения.
|
||||
/// </summary>
|
||||
/// <param name="name">Имя разрешения (default = controllerName)</param>
|
||||
/// <param name="mask">Маска проверки по "И" (default = Any(-1))</param>
|
||||
public PermissionAttribute(string name = default, int mask = -1)
|
||||
public PermissionAttribute(string name = default)
|
||||
{
|
||||
Name = name;
|
||||
Registered.Add(name);
|
||||
|
Loading…
Reference in New Issue
Block a user