Просмотр исходного кода

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

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

See merge request o2oa/o2oa!1508
o2null 5 лет назад
Родитель
Сommit
11ff5a26b6

+ 1 - 1
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/task/ActionProcessing.java

@@ -93,7 +93,7 @@ class ActionProcessing extends BaseAction {
 			if (null == this.work) {
 				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);
 			}
 			if (StringUtils.isNotEmpty(wi.getRouteName()) || StringUtils.isNotEmpty(wi.getOpinion())