From: mka Date: Mon, 1 Apr 2013 16:58:43 +0000 (+0000) Subject: Version item is added to pop-up menu of the external document. X-Git-Tag: Root_Delivery2_2013_04_22~69 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2812c45ac34d5e91e2a58b4c7d9bb3df08b5d2d3;p=tools%2Fsiman.git Version item is added to pop-up menu of the external document. --- diff --git a/Workspace/Siman-Common/src/org/splat/som/DocumentRights.java b/Workspace/Siman-Common/src/org/splat/som/DocumentRights.java index 93e5bce..73a2950 100644 --- a/Workspace/Siman-Common/src/org/splat/som/DocumentRights.java +++ b/Workspace/Siman-Common/src/org/splat/som/DocumentRights.java @@ -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; }