From 01dd05d06562811d504ddc51299e023c72dd7b88 Mon Sep 17 00:00:00 2001 From: mka Date: Fri, 19 Apr 2013 13:23:12 +0000 Subject: [PATCH] author of the document can demote the document in the inCheck state --- Workspace/Siman-Common/src/org/splat/som/DocumentRights.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Workspace/Siman-Common/src/org/splat/som/DocumentRights.java b/Workspace/Siman-Common/src/org/splat/som/DocumentRights.java index ab19e9c..b757a49 100644 --- a/Workspace/Siman-Common/src/org/splat/som/DocumentRights.java +++ b/Workspace/Siman-Common/src/org/splat/som/DocumentRights.java @@ -173,7 +173,7 @@ public class DocumentRights { || _user.equals(manager) || (reviewer == null) && _user.equals(approver)) || mystate == ProgressState.inCHECK && (_user.equals(approver) || _user.equals(reviewer) || (reviewer == null) - && (_user.equals(publisher) || _user.equals(manager)))); + && (_isauthor || _user.equals(publisher) || _user.equals(manager)))); if (res) { List use = _operand.value().getRelations( -- 2.39.2