Thanks to Kapil, Geir and Daniel for their various syntaxes. Very enlightening.
I did cure it but by accident while experimenting with the solutions offered
(so they *were* worth it)
The zclass title is displayed a la slashdot or freshmeat in boxes as clickable
links drawn from the catalog. If
Kapil Thangavelu [EMAIL PROTECTED] wrote
Jonathan Cheyne wrote:
Hi all
I have built the basis of a site with full, form-based webediting of
objects. Coming round to cleanup time and I wanted to remove certain
visible functions from the default object views unless you have already
Jonathan Cheyne wrote:
Hi all
I have built the basis of a site with full, form-based webediting of
objects. Coming round to cleanup time and I wanted to remove certain
visible functions from the default object views unless you have already
logged in (with various possible roles)
in
dtml-if "AUTHENTICATED_USER.has_role('Staff', this())"
This works for me, no pun intended :)
Dan
Kapil Thangavelu wrote:
Jonathan Cheyne wrote:
Hi all
I have built the basis of a site with full, form-based webediting of
objects. Coming round to cleanup time and I wanted to remove
Stolen somewhere from this list, and I don't remember from who.
dtml-if "AUTHENTICATED_USER.has_permission('Edit', this())"
...is cool to have as well if you ever need it.
Let's you not use specific names of ACL's such as "Staff" or "CopyWriter".
dtml-if