--- a/web/views/cwuser.py Sun Nov 08 19:37:08 2009 +0100
+++ b/web/views/cwuser.py Sun Nov 08 19:37:44 2009 +0100
@@ -16,6 +16,14 @@
uicfg.primaryview_section.tag_attribute(('CWUser', 'login'), 'hidden')
+uicfg.primaryview_section.tag_attribute(('CWGroup', 'name'), 'hidden')
+uicfg.primaryview_section.tag_subject_of(('CWGroup', 'read_permission', '*'), 'relations')
+uicfg.primaryview_section.tag_subject_of(('CWGroup', 'add_permission', '*'), 'relations')
+uicfg.primaryview_section.tag_subject_of(('CWGroup', 'delete_permission', '*'), 'relations')
+uicfg.primaryview_section.tag_subject_of(('CWGroup', 'update_permission', '*'), 'relations')
+uicfg.primaryview_section.tag_object_of(('*', 'in_group', 'CWGroup'), 'relations')
+uicfg.primaryview_section.tag_object_of(('*', 'require_group', 'CWGroup'), 'relations')
+
class UserPreferencesEntityAction(action.Action):
id = 'prefs'
__select__ = (one_line_rset() & implements('CWUser') &