我正在创建一个应用程序,其中存在基于角色的模块管理,并且可以随时对其进行更改。场景:
我尝试使用,[Authorize(Roles ="Staff")]但是如果管理员更改了运行时,则无法对其进行管理。
[Authorize(Roles ="Staff")]
有人可以调查一下并回到我身边吗?
c# authentication asp.net-mvc asp.net-core
asp.net-core ×1
asp.net-mvc ×1
authentication ×1
c# ×1