diff -r aa547cf3bf0d -r 7f5c455ec7d1 web/views/actions.py --- a/web/views/actions.py Thu Sep 08 18:09:36 2011 +0200 +++ b/web/views/actions.py Tue Sep 13 15:41:11 2011 +0200 @@ -182,15 +182,6 @@ category = 'moreactions' order = 15 - @classmethod - def __registered__(cls, reg): - if 'require_permission' in reg.schema: - cls.__select__ = (one_line_rset() & non_final_entity() & - (match_user_groups('managers') - | relation_possible('require_permission', 'subject', 'CWPermission', - action='add'))) - return super(ManagePermissionsAction, cls).__registered__(reg) - def url(self): return self.cw_rset.get_entity(self.cw_row or 0, self.cw_col or 0).absolute_url(vid='security') @@ -436,7 +427,6 @@ ## default actions ui configuration ########################################### addmenu = uicfg.actionbox_appearsin_addmenu -addmenu.tag_subject_of(('*', 'require_permission', '*'), False) addmenu.tag_object_of(('*', 'relation_type', 'CWRType'), True) addmenu.tag_object_of(('*', 'from_entity', 'CWEType'), False) addmenu.tag_object_of(('*', 'to_entity', 'CWEType'), False)