Log message for revision 77296: Collector #1306: Missing acquisition context on local roles screen.
Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/AccessControl/Role.py -=- Modified: Zope/trunk/doc/CHANGES.txt =================================================================== --- Zope/trunk/doc/CHANGES.txt 2007-07-02 10:02:38 UTC (rev 77295) +++ Zope/trunk/doc/CHANGES.txt 2007-07-02 10:12:03 UTC (rev 77296) @@ -102,6 +102,8 @@ Bugs Fixed + - Collector #1306: Missing acquisition context on local roles screen. + - Collector #2153: Supporting unquoted cookies with spaces. - The REQUEST no longer accepts holds after it has been closed. Modified: Zope/trunk/lib/python/AccessControl/Role.py =================================================================== --- Zope/trunk/lib/python/AccessControl/Role.py 2007-07-02 10:02:38 UTC (rev 77295) +++ Zope/trunk/lib/python/AccessControl/Role.py 2007-07-02 10:12:03 UTC (rev 77296) @@ -407,11 +407,12 @@ if mlu < 0: raise OverflowError un = getattr(aclu, 'user_names', _notfound) if un is not _notfound: + un = aclu.__of__(item).user_names # rewrap unl = un() # maxlistusers of 0 is list all if len(unl) > mlu and mlu != 0: raise OverflowError - for name in un(): + for name in unl: dict[name]=1 item = getattr(item, 'aq_parent', _notfound) if item is _notfound: _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins