提交 af75c4dc 编写于 作者: O o2null

Merge branch 'fix/修复流程平台可启动查询接口权限不生效的问题' into 'wrdp'

[流程平台]修复可启动流程查询接口权限不生效的问题

See merge request o2oa/o2oa!4372
......@@ -71,7 +71,7 @@ class ActionListWithPersonWithApplicationFilter extends BaseAction {
Root<Process> root = cq.from(Process.class);
Predicate p = cb.conjunction();
if (effectivePerson.isNotManager()
&& (BooleanUtils.isTrue(business.organization().person().hasRole(effectivePerson,
&& (!BooleanUtils.isTrue(business.organization().person().hasRole(effectivePerson,
OrganizationDefinition.Manager, OrganizationDefinition.ProcessPlatformManager)))) {
p = cb.and(cb.isEmpty(root.get(Process_.startableIdentityList)),
cb.isEmpty(root.get(Process_.startableUnitList)));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册