--- a/src/pyams_skin/page.py Wed Oct 07 18:01:15 2015 +0200
+++ b/src/pyams_skin/page.py Wed Oct 07 18:01:32 2015 +0200
@@ -18,6 +18,7 @@
# import interfaces
from pyams_skin.interfaces import IInnerPage, IModalPage, IPageHeader, IContentTitle
from pyams_skin.layer import IPyAMSLayer
+from pyams_utils.interfaces import VIEW_PERMISSION
# import packages
from pyams_pagelet.pagelet import pagelet_config
@@ -27,7 +28,7 @@
from zope.interface import implementer, Interface
-@pagelet_config(name='', layer=IPyAMSLayer, permission='view')
+@pagelet_config(name='', layer=IPyAMSLayer, permission=VIEW_PERMISSION)
@template_config(template='templates/index.pt')
class BaseIndexPage(object):
"""Base index page"""