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
349ff766
Commit
349ff766
authored
Apr 12, 2002
by
Brian Lloyd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug #319.
parent
e6a6d411
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lib/python/App/Management.py
lib/python/App/Management.py
+4
-3
No files found.
lib/python/App/Management.py
View file @
349ff766
...
@@ -13,14 +13,15 @@
...
@@ -13,14 +13,15 @@
"""Standard management interface support
"""Standard management interface support
$Id: Management.py,v 1.5
6 2002/02/07 17:37:10 andreasjung
Exp $"""
$Id: Management.py,v 1.5
7 2002/04/12 18:24:24 Brian
Exp $"""
__version__
=
'$Revision: 1.5
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
7
$'
[
11
:
-
2
]
import
sys
,
Globals
,
ExtensionClass
,
urllib
import
sys
,
Globals
,
ExtensionClass
,
urllib
from
Dialogs
import
MessageDialog
from
Dialogs
import
MessageDialog
from
Globals
import
DTMLFile
,
HTMLFile
from
Globals
import
DTMLFile
,
HTMLFile
from
AccessControl
import
getSecurityManager
,
Unauthorized
from
AccessControl
import
getSecurityManager
,
Unauthorized
from
AccessControl.SimpleObjectPolicies
import
_noroles
class
Tabs
(
ExtensionClass
.
Base
):
class
Tabs
(
ExtensionClass
.
Base
):
"""Mix-in provides management folder tab support."""
"""Mix-in provides management folder tab support."""
...
@@ -54,7 +55,7 @@ class Tabs(ExtensionClass.Base):
...
@@ -54,7 +55,7 @@ class Tabs(ExtensionClass.Base):
if
o
is
None
:
continue
if
o
is
None
:
continue
try
:
try
:
if
validate
(
None
,
self
,
None
,
o
,
None
):
if
validate
(
None
,
self
,
None
,
o
,
_noroles
):
result
.
append
(
d
)
result
.
append
(
d
)
except
:
except
:
if
not
hasattr
(
o
,
'__roles__'
):
if
not
hasattr
(
o
,
'__roles__'
):
...
...
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