[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: 0.0.43.0-16-g90837cb

X2Go dev team git-admin at x2go.org
Tue Jan 7 16:20:30 CET 2014


The branch, brokerclient has been updated
       via  90837cb8ff4af5405b6c6a8586b464635eb7dfb3 (commit)
      from  7eda742f7351cd9f42624d6239e81cac673977e0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 x2go/backends/control/_stdout.py |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/x2go/backends/control/_stdout.py b/x2go/backends/control/_stdout.py
index 6eb0854..cdcb01b 100644
--- a/x2go/backends/control/_stdout.py
+++ b/x2go/backends/control/_stdout.py
@@ -228,7 +228,13 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
             return self._remote_group[group]
 
     def is_x2gouser(self, username):
-        return username in self._x2go_remote_group('x2gousers')
+        ###
+        ### FIXME:
+        ###
+        # discussion about server-side access restriction based on posix group membership or similar currently 
+        # in process (as of 20110517, mg)
+        #return username in self._x2go_remote_group('x2gousers')
+        return True
 
     @property
     def _x2go_session_auth_rsakey(self):
@@ -504,7 +510,7 @@ class X2goControlSessionSTDOUT(paramiko.SSHClient):
 
         """
         if not self.is_x2gouser(self.get_transport().get_username()):
-            raise x2go_exceptions.X2goUserException('remote user %s is not member of X2go server group x2gousers' % self.get_transport().get_username())
+            raise x2go_exceptions.X2goUserException('remote user %s is not allowed to run X2go commands' % self.get_transport().get_username())
 
         if session_name is not None:
             session_info = self.list_sessions()[session_name]


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list