Commit 3494ef44 authored by Stefan H. Holek's avatar Stefan H. Holek

Collector #1306: Missing acquisition context on local roles screen.

parent d130a1bc
......@@ -102,6 +102,8 @@ Zope Changes
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.
......
......@@ -407,11 +407,12 @@ class RoleManager(ExtensionClass.Base, PermissionMapping.RoleManager):
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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment