equal
deleted
inserted
replaced
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') |