This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
ci4s
/
ci4sManagement-cloud
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
1
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
优化
pull/268/head
chenzhihang
8 months ago
parent
272ec6ef97
commit
a2555f6ac3
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java
+ 1
- 1
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java
View File
@@ -183,7 +183,7 @@ public class SysRoleServiceImpl implements ISysRoleService
@Override
public void checkRoleAllowed(SysRole role)
{
if (StringUtils.isNotNull(role.getRoleId()) && role.isAdmin())
if (StringUtils.isNotNull(role.getRoleId()) &&
!
role.isAdmin())
{
throw new ServiceException("不允许操作超级管理员角色");
}
Write
Preview
Loading…
Cancel
Save