提交修改
This commit is contained in:
parent
15a32e6b74
commit
4b92626565
@ -35,7 +35,7 @@ public class ShiroServiceImpl implements ShiroService {
|
||||
public Set<String> getUserPermissions(SysUserEntity user) {
|
||||
List<String> permsList = null;
|
||||
//系统管理员,拥有最高权限
|
||||
if(user.getUserId() == Constant.SUPER_ADMIN || user.getType() == 1){
|
||||
if(user.getUserId() == Constant.SUPER_ADMIN ){
|
||||
List<SysMenuEntity> menuList = sysMenuDao.selectList(null);
|
||||
permsList = new ArrayList<>(menuList.size());
|
||||
for(SysMenuEntity menu : menuList){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user