fix(user): isAdmin标记为super
This commit is contained in:
1 parent
3d4ecd7de7
commit
ee3fb6d4c6
1 file changed
+1
-1
+1
-1
@@ -42,7 +42,7 @@ public class UPermissionServiceImpl implements IUPermissionService
|
|||||||
// 管理员拥有所有权限
|
// 管理员拥有所有权限
|
||||||
if (user.isAdmin())
|
if (user.isAdmin())
|
||||||
{
|
{
|
||||||
roles.add("admin");
|
roles.add("super");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user