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
7c84f807
Commit
7c84f807
authored
Dec 31, 1997
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added security metadata
parent
b91674c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
lib/python/OFS/Folder.py
lib/python/OFS/Folder.py
+19
-2
No files found.
lib/python/OFS/Folder.py
View file @
7c84f807
"""Folder object
"""Folder object
$Id: Folder.py,v 1.2
7 1997/12/23 21:19:04 jeffrey
Exp $"""
$Id: Folder.py,v 1.2
8 1997/12/31 16:29:44 brian
Exp $"""
__version__
=
'$Revision: 1.2
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
8
$'
[
11
:
-
2
]
from
Globals
import
HTMLFile
from
Globals
import
HTMLFile
...
@@ -102,6 +102,23 @@ class Folder(ObjectManager,RoleManager,DocumentHandler,
...
@@ -102,6 +102,23 @@ class Folder(ObjectManager,RoleManager,DocumentHandler,
# 'action':'manage_help', 'target':'_new'},
# 'action':'manage_help', 'target':'_new'},
)
)
__ac_permissions__
=
(
(
'View management screens'
,
[
'manage'
,
'manage_menu'
,
'manage_main'
,
'manage_copyright'
,
'manage_tabs'
,
'manage_propertiesForm'
,
'manage_UndoForm'
]),
(
'Undo changes'
,
[
'manage_undo_transactions'
]),
(
'Change permissions'
,
[
'manage_access'
]),
(
'Add objects'
,
[
'manage_addObject'
]),
(
'Delete objects'
,
[
'manage_delObjects'
]),
(
'Add properties'
,
[
'manage_addProperty'
]),
(
'Change properties'
,
[
'manage_editProperties'
]),
(
'Delete properties'
,
[
'manage_delProperties'
]),
(
'Default permission'
,
[
''
]),
)
__ac_types__
=
((
'Full Access'
,
map
(
lambda
x
:
x
[
0
],
__ac_permissions__
)),
)
def
tpValues
(
self
):
def
tpValues
(
self
):
r
=
[]
r
=
[]
if
hasattr
(
self
.
aq_self
,
'tree_ids'
):
if
hasattr
(
self
.
aq_self
,
'tree_ids'
):
...
...
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