Merge pull request #59 from nseinlet/master-adminforbuttons-nse

[IMP] runbot: restrict repo buttons to runbot admins
This commit is contained in:
Olivier Dony 2015-04-08 17:11:50 +02:00
commit 82196981cf

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"/>