Subject: Bug#514: Please add option to hide folder sharing options from x2goclient

From: Stefan Baur <[email-masked]>
Date: Sat, 07 Jun 2014 15:16:56 +0200

Am 07.06.2014 15:10, schrieb Mike Gabriel:

> Maybe this bug should be renamed to:
> 
> "Test server-side group membership and hide sharing options if 
> connecting user is not in group fuse"
> 
> ???
> 
> Having such an option configurable client-side does only make a
> little sense too me, but not much.

Logic flaw: You cannot check group membership before connecting.
Session preferences can be set in disconnected state, and that's where
the "Shared folders" tab is located.

So, you could split it up:

a) --no-sharing -> disables "Shared folders" tab in session preferences

b) After connect: not member of fuse group -> sharing-related
                                              icons/context menus
                                              disabled and hidden

-Stefan