Commit 8b469c14 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Bypassing explicit security check in manage_copyObjects was not required.

Reverted to previous state.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4080 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 95ac6cf7
...@@ -55,9 +55,8 @@ class CopyContainer: ...@@ -55,9 +55,8 @@ class CopyContainer:
#LOG("Manage Copy",0, "ids:%s uids:%s" % (str(ids), str(uids))) #LOG("Manage Copy",0, "ids:%s uids:%s" % (str(ids), str(uids)))
if ids is not None: if ids is not None:
# Use default methode # Use default methode
return tryMethodCallWithTemporaryPermission(self, 'Copy or Move', return OriginalCopyContainer.manage_copyObjects(self, ids, REQUEST,
OriginalCopyContainer.manage_copyObjects, (self, ids, REQUEST, RESPONSE)
RESPONSE), {}, CopyError)
if uids is None and REQUEST is not None: if uids is None and REQUEST is not None:
return eNoItemsSpecified return eNoItemsSpecified
elif uids is None: elif uids is None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment