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
dc72b463
Commit
dc72b463
authored
Feb 05, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added call to class initilizer
Added permission settings for standard "add" operations.
parent
45baf1df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
lib/python/OFS/Folder.py
lib/python/OFS/Folder.py
+7
-4
No files found.
lib/python/OFS/Folder.py
View file @
dc72b463
"""Folder object
$Id: Folder.py,v 1.3
6 1998/01/26 21:01:33 brian
Exp $"""
$Id: Folder.py,v 1.3
7 1998/02/05 23:34:58 jim
Exp $"""
__version__
=
'$Revision: 1.3
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
7
$'
[
11
:
-
2
]
from
Globals
import
HTMLFile
...
...
@@ -16,7 +16,7 @@ from AccessControl.Role import RoleManager
import
SimpleItem
from
string
import
rfind
,
lower
from
content_types
import
content_type
,
find_binary
,
text_type
import
Globals
class
FolderHandler
:
""" """
...
...
@@ -62,6 +62,7 @@ class FolderHandler:
"""Test connection"""
return
'PING'
Globals
.
default__class_init__
(
FolderHandler
)
class
Folder
(
ObjectManager
,
RoleManager
,
DocumentHandler
,
ImageHandler
,
FolderHandler
,
UserFolderHandler
,
...
...
@@ -100,7 +101,9 @@ class Folder(ObjectManager,RoleManager,DocumentHandler,
'manage_tabs'
,
'manage_propertiesForm'
,
'manage_UndoForm'
]),
(
'Undo changes'
,
[
'manage_undo_transactions'
]),
(
'Change permissions'
,
[
'manage_access'
]),
(
'Add objects'
,
[
'manage_addObject'
]),
(
'Add objects'
,
[
'manage_addObject'
,
'manage_addDocument'
,
'manage_addFile'
,
'manage_addImage'
,
'manage_addFolder'
,
'manage_addUserFolder'
]),
(
'Delete objects'
,
[
'manage_delObjects'
]),
(
'Add properties'
,
[
'manage_addProperty'
]),
(
'Change properties'
,
[
'manage_editProperties'
]),
...
...
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