Modified permission
authorThierry Florac <thierry.florac@onf.fr>
Tue, 28 Nov 2017 17:26:34 +0100
changeset 299 70de02fd0cd1
parent 298 42f146b4d946
child 300 49e8f3cef75a
Modified permission
src/pyams_content/shared/common/zmi/properties.py
--- a/src/pyams_content/shared/common/zmi/properties.py	Tue Nov 28 17:26:16 2017 +0100
+++ b/src/pyams_content/shared/common/zmi/properties.py	Tue Nov 28 17:26:34 2017 +0100
@@ -21,6 +21,7 @@
 from pyams_form.interfaces.form import IWidgetForm, IInnerSubForm
 from pyams_skin.interfaces import IInnerPage, IPageHeader
 from pyams_skin.layer import IPyAMSLayer
+from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
 from pyams_workflow.interfaces import IWorkflowPublicationInfo
 from pyams_zmi.interfaces.menu import IContentManagementMenu, IPropertiesMenu
 from pyams_zmi.layer import IAdminLayer
@@ -46,7 +47,7 @@
 #
 
 @viewlet_config(name='properties.menu', context=IWfSharedContent, layer=IAdminLayer,
-                manager=IContentManagementMenu, permission=MANAGE_CONTENT_PERMISSION, weight=10)
+                manager=IContentManagementMenu, permission=VIEW_SYSTEM_PERMISSION, weight=10)
 @viewletmanager_config(name='properties.menu', layer=IAdminLayer, provides=IPropertiesMenu)
 @implementer(IPropertiesMenu)
 class SharedContentCompositionMenu(MenuItem):