[Zope] Re: Give Ownership

Tobias Herp therp at apriori.de
Wed Sep 10 18:40:08 EDT 2003


Samir Mishra schrieb:

> context.manage_addLocalRoles is not what I was looking for, it's more of a
> work-around. And I was hoping to avoid fiddling with the source code. It
> breaks upgrades released by Zope. 
> 
> Thanks all, I was hoping for an easy answer.

Hi, Samir,

there is a method changeOwnership(self, user[,...]) in the Owned class 
(AccessControl/Owned.py) that might help you. It seems to take the user 
as an user object.

Tobias





More information about the Zope mailing list