From: mka Date: Fri, 19 Apr 2013 13:23:12 +0000 (+0000) Subject: author of the document can demote the document in the inCheck state X-Git-Tag: Root_Delivery2_2013_04_22~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=01dd05d06562811d504ddc51299e023c72dd7b88;p=tools%2Fsiman.git author of the document can demote the document in the inCheck state --- 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(