23 Mar
2000
23 Mar
'00
7:31 a.m.
I may be misunderstanding your question, but if your user is authenticated you can use a construction like: <dtml-in expr="objectValues(['DTML Document', 'File'])" sort=bobobase_modification_time reverse> <dtml-if "AUTHENTICATED_USER.has_role('Owner', this())"> <A HREF="<dtml-var id>"><dtml-var title></A> <dtml-else> <dtml-var title> </dtml-if> </dtml-in>
Sweet! That's even simpler than my solution. Yep, I've got a lot to learn about Zope permissions alright. =) -jfarr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi! I'm a signature virus. Copy me into your .sig to join the fun! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~