On Tue, Jul 22, 2008 at 10:49 AM, Thomas Waldmann wrote:
>
>> superuser = [u"Bba114Sb", u"Bpe135Sb"]
>
> OK.
>
>> acl_rights_before = (u"Bba114Sb:read,write,delete,revert,admin"
>> u"Bpe135Sb:read,write,delete,revert,admin")
>> acl_rights_default = (u"RDUsersGroup:read,write,delete,revert"
>> u"All:")
>
> That's incorrect. You can concatenate strings in Python that way, but
> you forgot the blank between the 2 ACL entries. Look:
>
>>>> (u"foo" u"bar")
> u'foobar'
>
> So if you want to keep that way of doing things (and not just use 1 long
> unicode string), you have to add one blank at the end of each string
> (except the last string, but it does no harm if you do it there also).
>
> But maybe using just this is easier:
>
> acl_rights_default = u"RDUsersGroup:read,write,delete,revert All:"

Ok. So now I've changed the acl_rights to:

acl_rights_before = (u"Bba114Sb:read,write,delete,revert,admin
Bpe135Sb:read,write,delete,revert,admin")
acl_rights_default = (u"RDUsersGroup:read,write,delete,revert All:")

Access for the admin user Bpe135Sb now works fine, but still no go for
users in the RDUsersGroup.

Best regards,
Bernd.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to