Am 28.01.2009 um 15:54 schrieb Andreas Jung:

> from AccessControl.SecurityManagement import newSecurityManager
> user = app.acl_users.getUser(user_name_or_id)
> newSecurityManager(None, user.__of__(app.acl_users))


That does indeed solve the problem!

Cheers

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to