用户权限获取方法调整
This commit is contained in:
parent
be8efc5b2f
commit
19a02ab05a
Binary file not shown.
@ -1011,6 +1011,10 @@ public class CooperationWeb extends ActionWeb {
|
||||
//具体文件的操作权限
|
||||
List<CoeCooperationRolePermModel> rolePermModels = api.queryCooperationRoleDataPermList(teamId, role.getId());
|
||||
for (CoeCooperationRolePermModel rolePermModel : rolePermModels) {
|
||||
if (rolePermModel.getActionPerm() == null){
|
||||
dataActionPerm.put(rolePermModel.getPalVersionId(),new ArrayList<>());
|
||||
continue;
|
||||
}
|
||||
dataActionPerm.put(rolePermModel.getPalVersionId(), Arrays.asList(rolePermModel.getActionPerm().split(",").clone()));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user