mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00

Because of tracking, `test_patch_acl` needs access to message subtypes during patch creation. If the user *only* has `runbot_merge.group_patcher` or `runbot_merge.group_admin` they don't have any of the "core" user groups (public, portal, internal) and thus don't have access to mail subtypes. Fix that by having the runbot_merge groups imply being an internal user.
24 lines
787 B
XML
24 lines
787 B
XML
<odoo>
|
|
<record model="res.groups" id="group_patcher">
|
|
<field name="name">Mergebot Patcher</field>
|
|
<field name="implied_ids" eval="[
|
|
(4, ref('base.group_user')),
|
|
]"/>
|
|
</record>
|
|
<record model="res.groups" id="group_admin">
|
|
<field name="name">Mergebot Administrator</field>
|
|
<field name="implied_ids" eval="[
|
|
(4, ref('base.group_user')),
|
|
]"/>
|
|
</record>
|
|
<record model="res.groups" id="base.group_system">
|
|
<field name="implied_ids" eval="[
|
|
(4, ref('runbot_merge.group_admin')),
|
|
(4, ref('runbot_merge.group_patcher')),
|
|
]"/>
|
|
</record>
|
|
<record model="res.groups" id="status">
|
|
<field name="name">Mergebot Status Sender</field>
|
|
</record>
|
|
</odoo>
|