Changed viewlet permission
authorThierry Florac <tflorac@ulthar.net>
Sat, 28 Feb 2015 16:19:28 +0100
changeset 1 3e9b0f7d068b
parent 0 9131229e2982
child 2 bc1d70f9a9e2
Changed viewlet permission
src/pyams_zmi/viewlet/menu/__init__.py
--- a/src/pyams_zmi/viewlet/menu/__init__.py	Thu Feb 19 10:25:12 2015 +0100
+++ b/src/pyams_zmi/viewlet/menu/__init__.py	Sat Feb 28 16:19:28 2015 +0100
@@ -30,7 +30,7 @@
 
 
 @viewlet_config(name='manage.menu', layer=IAdminLayer, manager=IMainMenusViewletManager,
-                permission='manage', weight=1)
+                permission='system.view', weight=1)
 @viewletmanager_config(name='manage.menu', layer=IAdminLayer, provides=ISiteManagementMenu)
 @implementer(ISiteManagementMenu)
 class SiteManagementMenu(Menu):