i4004 / AcspNet

Lightweight and fast .NET web-framework based on MVC and OWIN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AuthorizeAttribute allowed user roles as args parameter

i4004 opened this issue · comments

[Authorize(nameof(Privilege.UsersManagement), nameof(Privilege.DepartmentsManagement)]

instead of

[Authorize(nameof(Privilege.UsersManagement) + "," + nameof(Privilege.DepartmentsManagement)]