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
def set_owner(self, user_name):
self.changeOwnership(self.acl_users.getUser(user_name))
OK, so that should keep you busy for a while. Anyway, the
Not long enough :-P
point is that the
parameter to changeOwnership is a User _object_. Good luck.
Ive got this external method in a
of UserFolder are you using... LoginManager or something?
-Original Message-
From: Magnus Heino (Rivermen) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 9:13 AM
To: 'Tim McLaughlin'; Magnus Heino (Rivermen)
Cc: '[EMAIL PROTECTED]'
Subject: SV: Subject: [Zope-dev] change