refactor(用户组权限): 超级管理员权限问题
This commit is contained in:
parent
027b7bed55
commit
daaba7b49d
|
@ -78,6 +78,9 @@ public class BaseCheckPermissionService {
|
|||
}
|
||||
|
||||
public void checkProjectOwner(String projectId) {
|
||||
if (SessionUtils.getUserId() != null && baseUserService.isSuperUser(SessionUtils.getUserId())) {
|
||||
return;
|
||||
}
|
||||
Set<String> projectIds = getUserRelatedProjectIds();
|
||||
if (CollectionUtils.isEmpty(projectIds)) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue