Removed edit permission on site properties edit form (use adapter)
authorThierry Florac <thierry.florac@onf.fr>
Mon, 27 Aug 2018 10:47:22 +0200
changeset 86 264be21e5ae7
parent 85 71863b99d12c
child 87 fd8e4305f85d
Removed edit permission on site properties edit form (use adapter)
src/pyams_zmi/zmi/site.py
--- a/src/pyams_zmi/zmi/site.py	Mon Aug 27 09:59:35 2018 +0200
+++ b/src/pyams_zmi/zmi/site.py	Mon Aug 27 10:47:22 2018 +0200
@@ -76,7 +76,6 @@
 
     legend = _("Update main site properties")
     ajax_handler = 'properties.json'
-    edit_permission = MANAGE_SYSTEM_PERMISSION
 
     @reify
     def fields(self):