[web action] has_permission_update checked implicitly by has_editable_relation, don't check it twice
--- 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'