web/views/cwuser.py
changeset 5236 13296aa038a9
parent 5235 3a92e6d92a64
child 5237 10dd0dd78778
equal deleted inserted replaced
5235:3a92e6d92a64 5236:13296aa038a9
    10 from logilab.mtconverter import xml_escape
    10 from logilab.mtconverter import xml_escape
    11 
    11 
    12 from cubicweb.selectors import one_line_rset, implements, match_user_groups
    12 from cubicweb.selectors import one_line_rset, implements, match_user_groups
    13 from cubicweb.view import EntityView
    13 from cubicweb.view import EntityView
    14 from cubicweb.web import action, uicfg
    14 from cubicweb.web import action, uicfg
       
    15 from cubicweb.web.views import tabs
    15 
    16 
    16 _pvs = uicfg.primaryview_section
    17 _pvs = uicfg.primaryview_section
    17 _pvs.tag_attribute(('CWUser', 'login'), 'hidden')
    18 _pvs.tag_attribute(('CWUser', 'login'), 'hidden')
    18 _pvs.tag_attribute(('CWGroup', 'name'), 'hidden')
    19 _pvs.tag_attribute(('CWGroup', 'name'), 'hidden')
    19 _pvs.tag_subject_of(('CWGroup', 'read_permission', '*'), 'relations')
    20 _pvs.tag_subject_of(('CWGroup', 'read_permission', '*'), 'relations')