Python Script which is set as "Access Rule" for some Folder is execute before authentication is done.
This way the following code won't work
if context.portal_membership.getAuthenticatedUser().getId() == "admin":
I will always get "cat". So does somebody know how to resolve it?
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )