give rigth to Page aprover group on the page_history model and hide the button for unallowed group thought the security isn't enforced a the orm level

(../7.0pageapproval/ rev 9)
This commit is contained in:
Jonatan Cloutier
2013-06-14 11:55:50 -04:00
parent 0e79e6f0e3
commit 90f540eb9e
4 changed files with 27 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">
<record id="base.group_document_approver_user" model="res.groups">
<field name="name">Document approver</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>
</openerp>