27 from cubicweb.selectors import is_instance, score_entity, match_user_groups |
27 from cubicweb.selectors import is_instance, score_entity, match_user_groups |
28 from cubicweb.view import EntityView, StartupView |
28 from cubicweb.view import EntityView, StartupView |
29 from cubicweb.schema import META_RTYPES, VIRTUAL_RTYPES, display_name |
29 from cubicweb.schema import META_RTYPES, VIRTUAL_RTYPES, display_name |
30 from cubicweb.web import uicfg |
30 from cubicweb.web import uicfg |
31 from cubicweb.web.views import tabs, actions |
31 from cubicweb.web.views import tabs, actions |
|
32 |
|
33 |
|
34 _abaa = uicfg.actionbox_appearsin_addmenu |
|
35 _abaa.tag_object_of(('CWSourceSchemaConfig', 'cw_schema', '*'), False) |
|
36 _abaa.tag_object_of(('CWSourceSchemaConfig', 'cw_for_source', '*'), False) |
32 |
37 |
33 # source primary views ######################################################### |
38 # source primary views ######################################################### |
34 |
39 |
35 _pvs = uicfg.primaryview_section |
40 _pvs = uicfg.primaryview_section |
36 _pvs.tag_object_of(('*', 'cw_for_source', 'CWSource'), 'hidden') |
41 _pvs.tag_object_of(('*', 'cw_for_source', 'CWSource'), 'hidden') |