Bart Holthuijsen wrote:
> This works for a User with the role Manager, but not with a user-defined
> role. I have created a Viewer class with all the available permissions (for
> testing purposes), but the above code returns nothing. If I remove the "and
> AUTHENTICATED_USER.has_permission('View',_.getitem('id',1)) " part it does
> show up. What should I do to make that part work?
Try giving your DTML method a proxy role or 'Manager'...
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -