[Zope] Question about Roles

Allen Schmidt Sr. aschmidt at fredericksburg.com
Tue Aug 5 10:38:03 EDT 2008


Zope 2.8.9.1

I have a user in the root acl_users but no Roles set. Then I go into the 
folder I want the user to have access in and using Local Roles, I assign 
Manager. Then on the page I use:

<dtml-if "'Manager' in _.SecurityGetUser().getRoles()">
   show the update and delete form buttons
</dtml-if>


For me, with Manager assigned in the root, I can see the buttons. But 
for this user, the buttons are not there. When I dtml-var the above 
getRoles() she only shows as 'Authenticated' but not 'Manager' and I 
show both.

Just wondering why??

Thanks

Allen




More information about the Zope mailing list