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
a7d8c1f1
Commit
a7d8c1f1
authored
Jan 11, 2001
by
Shane Hathaway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a deprecated alias for UnrestrictedUser, Super, for user folder
products that depend on the old class name.
parent
5cf029d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/python/AccessControl/User.py
lib/python/AccessControl/User.py
+3
-1
No files found.
lib/python/AccessControl/User.py
View file @
a7d8c1f1
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
##############################################################################
##############################################################################
"""Access control package"""
"""Access control package"""
__version__
=
'$Revision: 1.13
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.13
1
$'
[
11
:
-
2
]
import
Globals
,
socket
,
ts_regex
,
SpecialUsers
import
Globals
,
socket
,
ts_regex
,
SpecialUsers
import
os
import
os
...
@@ -1035,3 +1035,5 @@ def absattr(attr):
...
@@ -1035,3 +1035,5 @@ def absattr(attr):
def
reqattr
(
request
,
attr
):
def
reqattr
(
request
,
attr
):
try
:
return
request
[
attr
]
try
:
return
request
[
attr
]
except
:
return
None
except
:
return
None
Super
=
UnrestrictedUser
# Note: use of the Super alias is deprecated.
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