[X2Go-Dev] Bug#1234: acl-users-allow=ALL superceeds acl-users-deny

Walid MOGHRABI w.moghrabi at servicemagic.eu
Tue Nov 21 18:23:32 CET 2017


package: x2gobroker
priority: normal
tags: patch

When using ACLs with the session broker, I wanted to give access to a session setting to ALL users EXCEPT some (namely "formation{1..9}").
I tried this but it didn't work :

=================================================
[TRAVAUX]
fullscreen=true
clipboard=none
name=TRAVAUX
host=tce-server (10.10.10.1)
acl-users-allow=ALL
acl-users-deny=formation1, formation2, formation3, formation4, formation5, formation6, formation7, formation8, formation9
acl-any-order=deny-allow
=================================================

I played with many settings, changing order, using only the "acl-users-deny" option, ... none of them worked as expected.

I ended in thinking that there was a bug with acl-users-allow=ALL which was taking over any other setting.

I did a little fix that seem to work, at least for this use case.

Regards,
Walid Moghrabi

TRAVAUX.COM
BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403
13591 AIX EN PROVENCE CEDEX 3

---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x2gobroker_acl-users-allow.patch
Type: text/x-patch
Size: 831 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20171121/8ea3c46c/attachment.bin>


More information about the x2go-dev mailing list