web/views/actions.py
branchstable
changeset 6358 22c95c5ef12d
parent 6177 76aaca285e07
child 6363 b9ec8ebc187a
--- a/web/views/actions.py	Wed Sep 29 12:13:44 2010 +0200
+++ b/web/views/actions.py	Wed Sep 29 12:15:10 2010 +0200
@@ -142,8 +142,8 @@
 
 class ModifyAction(action.Action):
     __regid__ = 'edit'
-    __select__ = (action.Action.__select__ & one_line_rset() &
-                  (has_permission('update') | has_editable_relation('add')))
+    __select__ = (action.Action.__select__
+                  & one_line_rset() & has_editable_relation('add'))
 
     title = _('modify')
     category = 'mainactions'