Commit 69377521 authored by 's avatar

Fixed permissions for manage_clone

parent 90a409f9
......@@ -83,7 +83,7 @@
#
##############################################################################
__doc__="""Copy interface"""
__version__='$Revision: 1.24 $'[11:-2]
__version__='$Revision: 1.25 $'[11:-2]
import sys, string, Globals, Moniker, tempfile
from marshal import loads, dumps
......@@ -237,6 +237,9 @@ class CopyContainer:
return self.manage_main(self, REQUEST, update_menu=1)
return None
# Why did we give this a manage_ prefix if its really
# supposed to be public since it does its own auth ?
manage_clone__roles__=None
def manage_clone(self, ob, id, REQUEST=None):
"""Clone an object, creating a new object with the given id."""
if not ob.cb_isCopyable():
......
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