提交 4210eb4f 编写于 作者: O o2null

Merge branch 'cherry-pick-3ad5a863' into 'develop'

Merge branch 'fix/#338' into 'wrdp'

See merge request o2oa/o2oa!1508
...@@ -93,7 +93,7 @@ class ActionProcessing extends BaseAction { ...@@ -93,7 +93,7 @@ class ActionProcessing extends BaseAction {
if (null == this.work) { if (null == this.work) {
throw new ExceptionEntityNotExist(this.task.getWork(), Work.class); throw new ExceptionEntityNotExist(this.task.getWork(), Work.class);
} }
if (effectivePerson.isNotPerson(this.task.getPerson())) { if ((!effectivePerson.isCipher()) && effectivePerson.isNotPerson(this.task.getPerson())) {
throw new ExceptionAccessDenied(effectivePerson, this.task); throw new ExceptionAccessDenied(effectivePerson, this.task);
} }
if (StringUtils.isNotEmpty(wi.getRouteName()) || StringUtils.isNotEmpty(wi.getOpinion()) if (StringUtils.isNotEmpty(wi.getRouteName()) || StringUtils.isNotEmpty(wi.getOpinion())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册