Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
9d73c472
Commit
9d73c472
authored
May 16, 2010
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge AccessControl.User.tests.testUser fixes from 2.12, w/ LP#142536 fix.
parent
17dc97cb
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
370 additions
and
128 deletions
+370
-128
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/AccessControl/User.py
src/AccessControl/User.py
+3
-0
src/AccessControl/tests/testUser.py
src/AccessControl/tests/testUser.py
+365
-128
No files found.
doc/CHANGES.rst
View file @
9d73c472
...
...
@@ -155,6 +155,8 @@ Features Added
Bugs Fixed
++++++++++
- LP #142563: Fix ``AccessControl.User.NullUnrestrictedUserTests.__str__``.
- LP #267820: Fix bad except clause in the ``sequence_sort`` method of
the ``<dtml-in>`` tag.
...
...
src/AccessControl/User.py
View file @
9d73c472
...
...
@@ -400,6 +400,9 @@ class NullUnrestrictedUser(SpecialUser):
def
has_permission
(
self
,
permission
,
object
):
return
0
def
__str__
(
self
):
# See https://bugs.launchpad.net/zope2/+bug/142563
return
repr
(
self
)
def
readUserAccessFile
(
filename
):
...
...
src/AccessControl/tests/testUser.py
View file @
9d73c472
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment