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
1a05d7d0
Commit
1a05d7d0
authored
May 20, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated permissions.
parent
c35ae814
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
lib/python/OFS/Document.py
lib/python/OFS/Document.py
+2
-2
lib/python/OFS/Folder.py
lib/python/OFS/Folder.py
+7
-6
No files found.
lib/python/OFS/Document.py
View file @
1a05d7d0
"""Document object"""
__version__
=
'$Revision: 1.5
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
6
$'
[
11
:
-
2
]
from
Globals
import
HTML
,
HTMLFile
,
MessageDialog
from
string
import
join
,
split
,
strip
,
rfind
,
atoi
,
lower
...
...
@@ -47,7 +47,7 @@ class Document(cDocumentTemplate.cDocument, HTML, Explicit,
(
'View management screens'
,
[
'manage'
,
'manage_tabs'
,
'manage_uploadForm'
]),
(
'Change permissions'
,
[
'manage_access'
]),
(
'Change
/upload data
'
,
[
'manage_edit'
,
'manage_upload'
,
'PUT'
]),
(
'Change
Documents
'
,
[
'manage_edit'
,
'manage_upload'
,
'PUT'
]),
(
'Change proxy roles'
,
[
'manage_proxyForm'
,
'manage_proxy'
]),
(
'View'
,
[
'__call__'
,
''
]),
)
...
...
lib/python/OFS/Folder.py
View file @
1a05d7d0
"""Folder object
$Id: Folder.py,v 1.4
5 1998/05/11 17:16:1
4 jim Exp $"""
$Id: Folder.py,v 1.4
6 1998/05/20 21:31:3
4 jim Exp $"""
__version__
=
'$Revision: 1.4
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.4
6
$'
[
11
:
-
2
]
from
Globals
import
HTMLFile
...
...
@@ -71,20 +71,21 @@ class Folder(ObjectManager,RoleManager,DocumentHandler,
(
'View management screens'
,
(
'manage'
,
'manage_menu'
,
'manage_main'
,
'manage_copyright'
,
'manage_tabs'
,
'manage_propertiesForm'
,
'manage_UndoForm'
,)),
(
'Access
Contents I
nformation'
,
(
'Access
contents i
nformation'
,
(
'objectIds'
,
'objectValues'
,
'objectItems'
,
'hasProperty'
,
'propertyIds'
,
'propertyValues'
,
'propertyItems'
,
''
),
(
'Anonymous'
,
'Manager'
),
),
(
'Undo changes'
,
(
'manage_undo_transactions'
,)),
(
'Change permissions'
,
(
'manage_access'
,)),
(
'Add objects'
,
(
'manage_addObject'
,)),
(
'Delete objects'
,
(
'manage_delObjects'
,)),
(
'Manage properties'
,
(
'manage_addProperty'
,
'manage_editProperties'
,
'manage_delProperties'
,
'manage_changeProperties'
,)),
(
'manage_addProperty'
,
'manage_editProperties'
,
'manage_delProperties'
,
'manage_changeProperties'
,)),
)
manage_addObject__roles__
=
None
def
tpValues
(
self
):
r
=
[]
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