[IMP] runbot: add team manager group

This commit is contained in:
Xavier-Do 2022-11-22 09:27:47 +01:00 committed by Christophe Monniez
parent 22abf95bca
commit 0ca706c56c
2 changed files with 9 additions and 0 deletions

View File

@ -26,11 +26,14 @@ access_runbot_build_error_tag_user,runbot_build_error_tag_user,runbot.model_runb
access_runbot_build_error_tag_admin,runbot_build_error_tag_admin,runbot.model_runbot_build_error_tag,runbot.group_runbot_admin,1,1,1,1
access_runbot_build_error_tag_manager,runbot_build_error_tag_manager,runbot.model_runbot_build_error_tag,runbot.group_runbot_error_manager,1,1,1,1
access_runbot_team_admin,runbot_team_admin,runbot.model_runbot_team,runbot.group_runbot_admin,1,1,1,1
access_runbot_team_team_manager,runbot_team_team_manager,runbot.model_runbot_team,runbot.group_runbot_team_manager,1,1,1,1
access_runbot_team_user,runbot_team_user,runbot.model_runbot_team,group_user,1,0,0,0
access_runbot_module_admin,runbot_module_admin,runbot.model_runbot_module,runbot.group_runbot_admin,1,1,1,1
access_runbot_module_team_manager,runbot_module_team_manager,runbot.model_runbot_module,runbot.group_runbot_team_manager,1,1,1,1
access_runbot_module_user,runbot_module_user,runbot.model_runbot_module,group_user,1,0,0,0
access_runbot_module_ownership_admin,runbot_module_ownership_admin,runbot.model_runbot_module_ownership,runbot.group_runbot_admin,1,1,1,1
access_runbot_module_ownership__team_manager,runbot_module_ownership_team_manager,runbot.model_runbot_module_ownership,runbot.group_runbot_team_manager,1,1,1,1
access_runbot_module_ownership_user,runbot_module_ownership_user,runbot.model_runbot_module_ownership,group_user,1,0,0,0
access_runbot_dashboard_admin,runbot_dashboard_admin,runbot.model_runbot_dashboard,runbot.group_runbot_admin,1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
26 access_runbot_module_user access_runbot_module_admin runbot_module_user runbot_module_admin runbot.model_runbot_module group_user runbot.group_runbot_admin 1 0 1 0 1 0 1
27 access_runbot_module_ownership_admin access_runbot_module_team_manager runbot_module_ownership_admin runbot_module_team_manager runbot.model_runbot_module_ownership runbot.model_runbot_module runbot.group_runbot_admin runbot.group_runbot_team_manager 1 1 1 1
28 access_runbot_module_ownership_user access_runbot_module_user runbot_module_ownership_user runbot_module_user runbot.model_runbot_module_ownership runbot.model_runbot_module group_user 1 0 0 0
29 access_runbot_module_ownership_admin runbot_module_ownership_admin runbot.model_runbot_module_ownership runbot.group_runbot_admin 1 1 1 1
30 access_runbot_dashboard_admin access_runbot_module_ownership__team_manager runbot_dashboard_admin runbot_module_ownership_team_manager runbot.model_runbot_dashboard runbot.model_runbot_module_ownership runbot.group_runbot_admin runbot.group_runbot_team_manager 1 1 1 1
31 access_runbot_dashboard_user access_runbot_module_ownership_user runbot_dashboard_user runbot_module_ownership_user runbot.model_runbot_dashboard runbot.model_runbot_module_ownership group_user 1 0 0 0
32 access_runbot_dashboard_tile_admin access_runbot_dashboard_admin runbot_dashboard_tile_admin runbot_dashboard_admin runbot.model_runbot_dashboard_tile runbot.model_runbot_dashboard runbot.group_runbot_admin 1 1 1 1
33 access_runbot_dashboard_user runbot_dashboard_user runbot.model_runbot_dashboard group_user 1 0 0 0
34 access_runbot_dashboard_tile_user access_runbot_dashboard_tile_admin runbot_dashboard_tile_user runbot_dashboard_tile_admin runbot.model_runbot_dashboard_tile group_user runbot.group_runbot_admin 1 0 1 0 1 0 1
35 access_runbot_error_regex_user access_runbot_dashboard_tile_user runbot_error_regex_user runbot_dashboard_tile_user runbot.model_runbot_error_regex runbot.model_runbot_dashboard_tile group_user 1 0 0 0
36 access_runbot_error_regex_user runbot_error_regex_user runbot.model_runbot_error_regex group_user 1 0 0 0
37 access_runbot_error_regex_manager runbot_error_regex_manager runbot.model_runbot_error_regex runbot.group_runbot_admin 1 1 1 1
38 access_runbot_host_user runbot_host_user runbot.model_runbot_host group_user 1 0 0 0
39 access_runbot_host_manager runbot_host_manager runbot.model_runbot_host runbot.group_runbot_admin 1 1 1 1

View File

@ -52,12 +52,18 @@
<field name="category_id" ref="module_project"/>
</record>
<record id="group_runbot_team_manager" model="res.groups">
<field name="name">Team manager</field>
<field name="category_id" ref="module_project"/>
</record>
<record id="group_runbot_admin" model="res.groups">
<field name="name">Runbot administrator</field>
<field name="category_id" ref="module_project"/>
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
<field name="implied_ids" eval="[(4, ref('runbot.group_user')), (4, ref('runbot.group_build_config_administrator'))]"/>
</record>
<!-- config access rules-->
<record id="runbot_build_config_access_administrator" model="ir.rule">