[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.535.2.176

Zachery Bir zbir at urbanape.com
Mon Mar 22 10:01:04 EST 2004

On Mar 22, 2004, at 9:32 AM, Chris Withers wrote:

> Zachery Bir wrote:
>> +     - ObjectManager will now attempt to set Owner local role keyed
>> +       to the user's id, rather than username.
> Out of interest, what happens when this code meets a ZODB that has the 
> Owner local role keyed on a username?

Nothing. The user wouldn't have found any local roles assigned by 
username anyway. Cf. AccessControl.User.getRolesInContext()

If the particular user implementation was overriding getRolesInContext 
and did so by getting its __ac_local_role__ key from the user's 
getUserName(), it was broken to begin with.


More information about the Zope-Checkins mailing list