> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Krzysztof Kubacki wrote:
> > Hi,
> >
> > 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
Tres Seaver wrote:
AcceseRules run during path traversal, before any authentication is done
(Zope2 does "inside out" authentication starting at the "published"
objectd). You might be able to force user validation to be attempted
earlier, e.g. by calling 'validate' directly on the user folder.