mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[IMP] runbot: add team manager group
This commit is contained in:
parent
22abf95bca
commit
0ca706c56c
@ -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_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_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_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_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_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_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_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_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
|
access_runbot_dashboard_admin,runbot_dashboard_admin,runbot.model_runbot_dashboard,runbot.group_runbot_admin,1,1,1,1
|
||||||
|
|
@ -52,12 +52,18 @@
|
|||||||
<field name="category_id" ref="module_project"/>
|
<field name="category_id" ref="module_project"/>
|
||||||
</record>
|
</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">
|
<record id="group_runbot_admin" model="res.groups">
|
||||||
<field name="name">Runbot administrator</field>
|
<field name="name">Runbot administrator</field>
|
||||||
<field name="category_id" ref="module_project"/>
|
<field name="category_id" ref="module_project"/>
|
||||||
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
|
<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'))]"/>
|
<field name="implied_ids" eval="[(4, ref('runbot.group_user')), (4, ref('runbot.group_build_config_administrator'))]"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
<!-- config access rules-->
|
<!-- config access rules-->
|
||||||
<record id="runbot_build_config_access_administrator" model="ir.rule">
|
<record id="runbot_build_config_access_administrator" model="ir.rule">
|
||||||
|
Loading…
Reference in New Issue
Block a user