[Zope] half programmatically authenticated from product

Dieter Maurer dieter@handshake.de
Wed, 24 Jul 2002 21:50:15 +0200


Tim Hicks writes:
 > ...
 > acl_users = folder.acl_users
 > user = acl_users.authenticate(qfile.user, qfile.passw, request={})
 > user = user.__of__(acl_users)
 > newSecurityManager(None, user)
 > ...
 > Just to be clear, the authentication appears to work, but only for the first
 > level of protected code, second level protected code (i.e. that called from
 > first level) seems to fail, although I can call manage_addFolder()... wierd.
I do not see why. Does it use "REQUEST.AUTHENTICATED_USER"? This
is not changed by "newSecurityManager".


Dieter