Updated permission
authorThierry Florac <thierry.florac@onf.fr>
Tue, 13 Mar 2018 10:58:18 +0100
changeset 472 7b432f971933
parent 471 979e84932b9f
child 473 482e02c1f3d5
Updated permission
src/pyams_content/component/theme/zmi/manager.py
--- a/src/pyams_content/component/theme/zmi/manager.py	Mon Mar 12 17:24:49 2018 +0100
+++ b/src/pyams_content/component/theme/zmi/manager.py	Tue Mar 13 10:58:18 2018 +0100
@@ -38,7 +38,7 @@
 
 
 @viewlet_config(name='themes-manager.menu', context=IThemesManagerTarget, layer=IAdminLayer,
-                manager=IPropertiesMenu, permission=VIEW_SYSTEM_PERMISSION, weight=40)
+                manager=IPropertiesMenu, permission=MANAGE_TOOL_PERMISSION, weight=40)
 class ThemesManagerMenu(MenuItem):
     """Themes menu"""
 
@@ -49,7 +49,7 @@
 
 
 @pagelet_config(name='themes.html', context=IThemesManagerTarget, layer=IPyAMSLayer,
-                permission=VIEW_SYSTEM_PERMISSION)
+                permission=MANAGE_TOOL_PERMISSION)
 class ThemesManagerEditForm(AdminDialogEditForm):
     """Themes manager edit form"""