[X2go-Commits] python-x2go.git - release/0.1.1.x (branch) updated: 0.1.1.8-5-gf55075f

X2go dev team git-admin at x2go.org
Tue Nov 8 13:53:24 CET 2011


The branch, release/0.1.1.x has been updated
       via  f55075f3005bf50a3d04df610821def237f939de (commit)
      from  e9ca24230ed88228bea4beba570e31773ea63e68 (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 -----------------------------------------------------------------
commit f55075f3005bf50a3d04df610821def237f939de
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Nov 8 13:53:02 2011 +0100

    Print access to an X2Go server is not controlled by x2goprint group membership, but by fuse membership.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                  |    2 ++
 x2go/backends/terminal/_stdout.py |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 849945a..1caf028 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ python-x2go (0.1.1.9-0-x2go1) UNRELEASED; urgency=low
   * New upstream version (0.1.1.9), bugfix release for 0.1.1.x series:
     - Ignore session registry exceptions for profiles that just got disconnected.
     - Fix exception raisal in X2goTerminalSessionSTDOUT.
+    - Print access to an X2Go server is not controlled by x2goprint group membership,
+      but by fuse membership.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 12 Oct 2011 10:54:23 +0200
 
diff --git a/x2go/backends/terminal/_stdout.py b/x2go/backends/terminal/_stdout.py
index 8fb628c..acaef8a 100644
--- a/x2go/backends/terminal/_stdout.py
+++ b/x2go/backends/terminal/_stdout.py
@@ -506,8 +506,8 @@ class X2goTerminalSessionSTDOUT(object):
         Initialize X2go print spooling.
 
         """
-        if self.session_info.username not in self.control_session._x2go_remote_group('x2goprint'):
-            raise x2go_exceptions.X2goUserException('remote user %s is not member of X2go server group x2goprint' % self.session_info.username)
+        if self.session_info.username not in self.control_session._x2go_remote_group('fuse'):
+            raise x2go_exceptions.X2goUserException('remote user %s is not member of X2go server group fuse' % self.session_info.username)
 
         spool_dir = os.path.join(self.session_info.local_container, 'spool')
         if not os.path.exists(spool_dir):


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