--- a/src/pyams_content/shared/common/zmi/workflow.py Mon Dec 17 14:36:22 2018 +0100
+++ b/src/pyams_content/shared/common/zmi/workflow.py Tue Dec 18 16:58:03 2018 +0100
@@ -23,7 +23,7 @@
from zope.schema import Bool
from pyams_content.features.preview.interfaces import IPreviewTarget
-from pyams_content.interfaces import CREATE_CONTENT_PERMISSION, MANAGE_CONTENT_PERMISSION, PUBLISH_CONTENT_PERMISSION
+from pyams_content.interfaces import CREATE_VERSION_PERMISSION, MANAGE_CONTENT_PERMISSION, PUBLISH_CONTENT_PERMISSION
from pyams_content.shared.common.interfaces import IBaseSharedTool, IContributorRestrictions, IManagerRestrictions, \
ISharedContent, IWfSharedContent
from pyams_content.workflow import DELETED, DRAFT
@@ -654,9 +654,9 @@
@pagelet_config(name='wf-clone.html', context=IWfSharedContent, layer=IPyAMSLayer,
- permission=CREATE_CONTENT_PERMISSION)
+ permission=CREATE_VERSION_PERMISSION)
@ajax_config(name='wf-clone.json', context=IWfSharedContent, layer=IPyAMSLayer,
- permission=CREATE_CONTENT_PERMISSION, base=AJAXAddForm)
+ permission=CREATE_VERSION_PERMISSION, base=AJAXAddForm)
class SharedContentCloneForm(WorkflowContentTransitionForm):
"""Shared content clone form"""