[IMP] runbot: make post message only visible for admin

Co-authored-by: William Braeckman (wbr) <wbr@odoo.com>
This commit is contained in:
xdo 2025-03-07 14:37:52 +01:00 committed by GitHub
parent 6d9bdeaaa4
commit 9178e75637
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@
<field name="create_uid"/> <field name="create_uid"/>
<field name="team_id"/> <field name="team_id"/>
<field name="message" readonly="0"/> <field name="message" readonly="0"/>
<button name="action_post_message" string="Post message on all pull requests" type="object" invisible="not create_date"/> <button name="action_post_message" groups="runbot.group_runbot_admin" string="Post message on all pull requests" type="object" invisible="not create_date"/>
<button name="action_auto_rebuild" string="rebuild templates" type="object" invisible="not create_date"/> <button name="action_auto_rebuild" string="rebuild templates" type="object" invisible="not create_date"/>
</group> </group>
</sheet> </sheet>