[daisy] ACL Privileges, how to set default user ??
Paweł Burno
Pawel.Burno at eo.pl
Mon Dec 11 03:16:10 CST 2006
Hi
I've got a problem with configure ACL privileges.
I've got two sites (and collections) “firstSite” and “secondSite”.
Navigation document and the other documents are the same for both sites
but they are in two variants (default and pl).
All documents in variant “default” belongs to first collection and all
in variant “pl” belongs to second collection.
In documents I'm including documents by query-include and I can't use
condition language=myLanguage in query.
Now I want to set privileges for user “guest”.
First: Only to documents in variant “default” when he requesting form
url http://localhost:8888/daisy/firstSite/x.html
Second: Only to documents in variant “pl” when he requesting from url
http://localhost:8888/daisy/secondSite/x.html
<http://localhost:8888/daisy/firstSite/x.html>
When I set the conditions:
1)
IF InCollection('firstSite')
everyone deny All
2)
IF InCollection('firstSite') AND language='default'
user guest read live = grant
3)
IF InCollection('secondSite')
everyone deny All
4)
IF InCollection('secondSite') AND language='pl'
user guest read live = grant
but if I put this live guest can read both included variants on first or
second site.
Is it possible in Daisy to deny access for user in one collection for
variant and grant access for this variant in the other collection??
Or maybe I can set a default user for firstSite (guestDefault) and for
secondSite (guestPL) but I don't now how.
Paul
--
Pawel Burno
jabber: pburno at jabber.eo.pl
skype: pawelburno
Pawel.Burno at eo.pl
More information about the daisy
mailing list