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
03bd4dcb
Commit
03bd4dcb
authored
Apr 13, 2010
by
Martin Aspeli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge c110799 from
svn+ssh://svn.zope.org/repos/main/Zope/branches/2.12
parent
23b22fd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/Products/Five/browser/resource.py
src/Products/Five/browser/resource.py
+3
-1
No files found.
src/Products/Five/browser/resource.py
View file @
03bd4dcb
...
...
@@ -27,6 +27,7 @@ from zope.publisher.interfaces import NotFound
from
zope.publisher.interfaces.browser
import
IBrowserPublisher
from
zope.ptresource.ptresource
import
PageTemplate
from
Acquisition
import
aq_base
from
Products.Five.browser
import
BrowserView
...
...
@@ -165,7 +166,8 @@ class DirectoryResource(Resource,
# We need to propagate security so that restrictedTraverse() will
# work
resource
.
__roles__
=
self
.
__roles__
if
hasattr
(
aq_base
(
self
),
'__roles__'
):
resource
.
__roles__
=
self
.
__roles__
return
resource
...
...
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