Set groups on buttons to avoid users with backend access to killall builds

This commit is contained in:
Nicolas Seinlet 2015-04-08 16:57:15 +02:00
parent 9532378ed2
commit bbd0b63afa

View File

@ -13,9 +13,9 @@
<div class="oe_title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name" class="oe_inline"/></h1>
<button name="update" type="object" string="Update"/>
<button name="cron" type="object" string="Cron"/>
<button name="killall" type="object" string="Killall"/>
<button name="update" type="object" string="Update" groups="runbot.group_runbot_admin"/>
<button name="cron" type="object" string="Cron" groups="runbot.group_runbot_admin"/>
<button name="killall" type="object" string="Killall" groups="runbot.group_runbot_admin"/>
</div>
<group string="Params">
<field name="testing"/>