Skip to content

Commit

Permalink
Merged trunk r77296 into 2.9 branch.
Browse files Browse the repository at this point in the history
Collector #1306: Missing acquisition context on local roles screen.
  • Loading branch information
stefanholek committed Jul 2, 2007
1 parent 69046c8 commit 7f1900c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Zope Changes

Bugs fixed

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

- Collector #2153: Supporting unquoted cookies with spaces.

- Collector #2295: Comments in PythonScripts could lead to syntax
Expand Down
3 changes: 2 additions & 1 deletion lib/python/AccessControl/Role.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,12 @@ def get_valid_userids(self):
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:
Expand Down

0 comments on commit 7f1900c

Please sign in to comment.