]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
author of the document can demote the document in the inCheck state
authormka <mka@opencascade.com>
Fri, 19 Apr 2013 13:23:12 +0000 (13:23 +0000)
committermka <mka@opencascade.com>
Fri, 19 Apr 2013 13:23:12 +0000 (13:23 +0000)
Workspace/Siman-Common/src/org/splat/som/DocumentRights.java

index ab19e9c5ecff06d2499eaa41621616e098575b46..b757a49cd5b7682b75de2afb1839645b49b6f05f 100644 (file)
@@ -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<Relation> use = _operand.value().getRelations(