修改小组新增文件接口默认赋值权限
This commit is contained in:
parent
ba084184b5
commit
c90a483aed
@ -505,8 +505,8 @@ public class CoeCooperationAPIManager {
|
||||
// 获取用户权限,判断是否已存在
|
||||
List<String> rolePermList = new CoeCooperationRolePermDao().getRolePermListByRole(teamId, hideRole.getId());
|
||||
if (!rolePermList.contains(palVersionId)) {
|
||||
// 添加角色权限
|
||||
CoeCooperationRolePermModel rolePerm = new CoeCooperationRolePermModel(UUIDGener.getUUID(), teamId, hideRole.getId(), palVersionId);
|
||||
// 添加角色权限, 当前用户新建默认给全部的操作权限
|
||||
CoeCooperationRolePermModel rolePerm = new CoeCooperationRolePermModel(UUIDGener.getUUID(), teamId, hideRole.getId(), palVersionId,"w,d,v");
|
||||
new CoeCooperationRolePermDao().insert(rolePerm);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user