Commit fdd468e5 authored by Romain Courteaud's avatar Romain Courteaud

Change permission for copy/paste.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4585 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f5ffa996
......@@ -727,8 +727,8 @@ be a problem)."""
security.declareProtected(Permissions.ModifyPortalContent,'setDescription')
security.declareProtected( Permissions.ModifyPortalContent, 'setTitle' )
security.declareProtected( Permissions.ModifyPortalContent, 'manage_copyObjects' ) # XXX Why this one doesn't work in CopySupport ?
security.declareProtected( Permissions.ModifyPortalContent, 'manage_pasteObjects' ) # XXX Why this one doesn't work in CopySupport ?
security.declareProtected( Permissions.AccessContentsInformation, 'manage_copyObjects' ) # XXX Why this one doesn't work in CopySupport ?
security.declareProtected( Permissions.AddPortalContent, 'manage_pasteObjects' ) # XXX Why this one doesn't work in CopySupport ?
# Overwrite Zope setTitle()
Folder.setTitle = Base.setTitle
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