[X2Go-Dev] Bug#514: Please add option to hide folder sharing options from x2goclient

Stefan Baur newsgroups.mail2 at stefanbaur.de
Sat Jun 7 15:16:56 CEST 2014


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


More information about the x2go-dev mailing list