mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
Set groups on buttons to avoid users with backend access to killall builds
This commit is contained in:
parent
9532378ed2
commit
bbd0b63afa
@ -13,9 +13,9 @@
|
|||||||
<div class="oe_title">
|
<div class="oe_title">
|
||||||
<label for="name" class="oe_edit_only"/>
|
<label for="name" class="oe_edit_only"/>
|
||||||
<h1><field name="name" class="oe_inline"/></h1>
|
<h1><field name="name" class="oe_inline"/></h1>
|
||||||
<button name="update" type="object" string="Update"/>
|
<button name="update" type="object" string="Update" groups="runbot.group_runbot_admin"/>
|
||||||
<button name="cron" type="object" string="Cron"/>
|
<button name="cron" type="object" string="Cron" groups="runbot.group_runbot_admin"/>
|
||||||
<button name="killall" type="object" string="Killall"/>
|
<button name="killall" type="object" string="Killall" groups="runbot.group_runbot_admin"/>
|
||||||
</div>
|
</div>
|
||||||
<group string="Params">
|
<group string="Params">
|
||||||
<field name="testing"/>
|
<field name="testing"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user