--- a/web/views/actions.py Wed Feb 18 15:01:29 2009 +0100
+++ b/web/views/actions.py Wed Feb 18 15:01:50 2009 +0100
@@ -130,7 +130,7 @@
class ManagePermissionsAction(Action):
id = 'managepermission'
- __select__ = match_user_groups('managers')
+ __select__ = one_line_rset() & match_user_groups('managers')
title = _('manage permissions')
category = 'moreactions'
@@ -150,7 +150,7 @@
class DeleteAction(Action):
id = 'delete'
- __select__ = one_line_rset() & has_permission('delete')
+ __select__ = has_permission('delete')
title = _('delete')
category = 'moreactions'