Changed viewlet permission
authorThierry Florac <tflorac@ulthar.net>
Sat, 28 Feb 2015 16:10:25 +0100
changeset 8 1cf4fb7b5dc1
parent 7 9ac732522823
child 9 bb4a8932e76a
Changed viewlet permission
src/pyams_skin/viewlet/shortcuts/__init__.py
--- a/src/pyams_skin/viewlet/shortcuts/__init__.py	Sun Feb 22 14:43:54 2015 +0100
+++ b/src/pyams_skin/viewlet/shortcuts/__init__.py	Sat Feb 28 16:10:25 2015 +0100
@@ -57,7 +57,7 @@
     pass
 else:
     @viewlet_config(name='admin.shortcut', manager=ShortcutsViewletManager,
-                    layer=IPyAMSLayer, permission='pyams.view_admin', weight=9999)
+                    layer=IPyAMSLayer, permission='system.view', weight=9999)
     class ManagementInterfaceShortcut(Shortcut):
         """Access to management interface"""