--- a/src/pyams_file/zmi/file.py Fri Jan 18 15:34:08 2019 +0100
+++ b/src/pyams_file/zmi/file.py Tue Jan 29 15:41:43 2019 +0100
@@ -23,7 +23,7 @@
from pyams_pagelet.pagelet import pagelet_config
from pyams_skin.interfaces.viewlet import IContextActions
from pyams_skin.layer import IPyAMSLayer
-from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION
+from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION, MANAGE_SYSTEM_PERMISSION
from pyams_viewlet.viewlet import viewlet_config
from pyams_zmi.form import AdminDialogEditForm
@@ -35,7 +35,7 @@
#
@viewlet_config(name='file.properties.action', context=IFile, layer=IPyAMSLayer, view=Interface,
- manager=IContextActions, weight=1)
+ manager=IContextActions, permission=MANAGE_SYSTEM_PERMISSION, weight=1)
class FilePropertiesAction(FileModifierAction):
"""File properties action"""