[Zope] timezone change and permission problem
Chris Withers
chrisw@nipltd.com
Mon, 24 Jul 2000 14:07:40 +0100
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'...
cheers,
Chris