[daisy] Navigation Tree : Different view for 'guest'
and 'Administrator'
Olivier Lange
wire at petit-atelier.ch
Tue May 27 16:28:49 CEST 2008
Hi Dipankar,
ddas at lexmark.com wrote:
> I have two documents which I would like to hide from 'guest' users but
> would otherwise be viewable/editable by 'Administrators'.
>
> How do I proceed ?
Edit the ACL within the administration area and set up appropriate
ACL rules; Daisy will filter out the documents from the navigation
tree depending on the user and its role(s).
For instance:
If ( id = 10) or( id = 11)
Then
everyone read,write,delete,publish:allow
role guest read,write,delete,publish:deny
Or if your two documents are of a specific type:
If documentType = 'MyDoc'
Then
(idem)
Don't forget to put your ACL live once it works.
For administrators (i.e. users acting in role Administrator), no
additional ACL rules are needed, they have all permissions at any time.
You might find more suggestions from here:
http://cocoondev.org/daisydocs-2_2/373-cd/19-cd.htmlhttp://cocoondev.org/daisydocs-2_2/373-cd/19-cd.html
HTH,
--
Olivier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3909 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.cocoondev.org/pipermail/daisy/attachments/20080527/6151ea5c/smime-0001.bin
More information about the daisy
mailing list