--- a/src/pyams_content/shared/view/portlet/__init__.py Fri Apr 06 23:14:49 2018 +0200
+++ b/src/pyams_content/shared/view/portlet/__init__.py Wed Apr 11 16:44:46 2018 +0200
@@ -19,7 +19,7 @@
from pyams_content.shared.view.portlet.interfaces import IViewItemsPortletSettings
from pyams_portal.interfaces import IPortalContext, IPortletRenderer
from pyams_skin.layer import IPyAMSLayer
-from pyams_utils.interfaces import PUBLIC_PERMISSION
+from pyams_utils.interfaces import VIEW_PERMISSION
# import packages
from pyams_content.workflow import PUBLISHED_STATES
@@ -52,7 +52,7 @@
return view.get_results(context)
-@portlet_config(permission=PUBLIC_PERMISSION)
+@portlet_config(permission=VIEW_PERMISSION)
class ViewItemsPortlet(Portlet):
"""View items portlet"""