人员卡片栏目设置 脚本权限未找到 放开所有权限
This commit is contained in:
parent
5a2affb1a8
commit
47fb84d10d
|
|
@ -60,8 +60,9 @@ public class CardAccessServiceImpl extends Service implements CardAccessService
|
|||
@Override
|
||||
public Map<String, Object> hasRight() {
|
||||
Map<String, Object> resultMap = new HashMap<>();
|
||||
boolean hasRight = HasRightUtil.hasRight(user, RIGHT_NAME, true);
|
||||
resultMap.put("hasRight", hasRight);
|
||||
//boolean hasRight = HasRightUtil.hasRight(user, RIGHT_NAME, true);
|
||||
//脚本未找到该菜单 放开所有
|
||||
resultMap.put("hasRight", true);
|
||||
return resultMap;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue