SV: Subject: [Zope-dev] change ownership
Magnus Heino (Rivermen)
magnus.heino@rivermen.se
Thu, 10 May 2001 13:24:30 +0200
I can get it to work :-/
I get an attributeerror on aq_inner in lib/python/AccessControl/Owned.py,
line 302, in ownerInfo
Seems as if the user i provide isn't of the right type?
How do you use your method? How is it being called?
/Magnus
> Magnus,
> No, changeOwnership is not exposed for TTW calling. But you
> can expose it
> through an external method... I used this one on a ZClass.
>
> def set_owner(self, user):
> self.changeOwnership(user)
> return