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
4b313f3d
Commit
4b313f3d
authored
Aug 26, 1998
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated permissions in Folder folder for the copy/paste methods and added
cvs log to Folder.py
parent
fa30e8e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
lib/python/OFS/CopySupport.py
lib/python/OFS/CopySupport.py
+6
-2
lib/python/OFS/Folder.py
lib/python/OFS/Folder.py
+10
-3
No files found.
lib/python/OFS/CopySupport.py
View file @
4b313f3d
__doc__
=
"""Copy interface"""
__version__
=
'$Revision: 1.
19
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
20
$'
[
11
:
-
2
]
import
sys
,
Globals
,
Moniker
,
tempfile
from
marshal
import
loads
,
dumps
...
...
@@ -297,7 +297,7 @@ def _get_id(ob, id):
try
:
ob
=
ob
.
aq_base
except
:
pass
n
=
0
if
id
[
8
:]
==
'copy_of_'
:
if
(
len
(
id
)
>
8
)
and
(
id
[
8
:]
==
'copy_of_'
)
:
n
=
1
while
(
hasattr
(
ob
,
id
)):
id
=
'copy%s_of_%s'
%
(
n
and
n
+
1
or
''
,
id
)
...
...
@@ -382,6 +382,10 @@ eNotSupported=fMessageDialog(
##############################################################################
#
# $Log: CopySupport.py,v $
# Revision 1.20 1998/08/26 18:33:44 brian
# Updated permissions in Folder folder for the copy/paste methods and added
# cvs log to Folder.py
#
# Revision 1.19 1998/08/14 20:54:44 brian
# Readded Find support that got overwritten somehow
#
...
...
lib/python/OFS/Folder.py
View file @
4b313f3d
"""Folder object
$Id: Folder.py,v 1.5
2 1998/08/14 20:54
:44 brian Exp $"""
$Id: Folder.py,v 1.5
3 1998/08/26 18:33
:44 brian Exp $"""
__version__
=
'$Revision: 1.5
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
3
$'
[
11
:
-
2
]
from
Globals
import
HTMLFile
...
...
@@ -88,7 +88,7 @@ class Folder(ObjectManager,RoleManager,DocumentHandler,
'manage_acquiredForm'
,
'manage_acquiredPermissions'
,
'manage_permissionForm'
,
'manage_roleForm'
)),
(
'Delete objects'
,
(
'manage_delObjects'
,
'manage_cutObject'
)),
(
'Delete objects'
,
(
'manage_delObjects'
,)),
(
'Manage properties'
,
(
'manage_addProperty'
,
'manage_editProperties'
,
'manage_delProperties'
,
'manage_changeProperties'
,)),
...
...
@@ -200,3 +200,10 @@ def subclass(c,super):
return
0
##############################################################################
#
# $Log: Folder.py,v $
# Revision 1.53 1998/08/26 18:33:44 brian
# Updated permissions in Folder folder for the copy/paste methods and added
# cvs log to Folder.py
#
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