]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
Version item is added to pop-up menu of the external document.
authormka <mka@opencascade.com>
Mon, 1 Apr 2013 16:58:43 +0000 (16:58 +0000)
committermka <mka@opencascade.com>
Mon, 1 Apr 2013 16:58:43 +0000 (16:58 +0000)
Workspace/Siman-Common/src/org/splat/som/DocumentRights.java

index 93e5bcea16737dd9ad824c498f39c68a40ee022b..73a295025098bbd920280acc44796b7f768794d2 100644 (file)
@@ -420,12 +420,14 @@ public class DocumentRights {
                        if (_isauthor) {
                                return true;
                        }
-                       // MKA TODO:
-                       // Will be returned when "Version the external document" functionality is implemented
-                       /*
-                        * else if (state == ProgressState.EXTERN) { if (_isauthor || _user.equals(manager)) { return true; }
-                        */
+
+               }
+               else if (state == ProgressState.EXTERN) { 
+                       if (_isauthor || _user.equals(manager)) { 
+                               return true; 
+                       }
                }
+                        
                return false;
        }