[Zope] [BUG] in changeOwner

Jerome Alet alet@unice.fr
Wed, 9 May 2001 13:59:00 +0200 (MET DST)


Sorry, my previous message's content should have been (please ignore
what's at its top) :

Hi,

it seems (in fact I'm sure) there's a bug in changeOwner's behavior:

it seems like if you try to change ownership recursively from an object
(Folderish) on something you already own, changeOwner returns successfully
immediately even if you're not the owner of the complete subtree.

AccessControl/Owner.py says:

--- CUT ---
if old==new: return
--- CUT ---

which seems to confirm my point.

any comment ?

Jerome Alet - alet@unice.fr - http://cortex.unice.fr/~jerome
Fac de Medecine de Nice        http://wwwmed.unice.fr 
Tel: (+33) 4 93 37 76 30     Fax: (+33) 4 93 53 15 15
28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE