Odoo Help


What's the relationship between ir.rule and menu item access right?

on 10/30/13, 2:51 AM 1,025 views


After I added the security rule for res_group, then every one like Sales Manager in the system will be able to see "System Settings" Menu which could not be acceptable.

 <record id="user_group_rule" model="ir.rule">
    <field name="name">User Groups Rule</field>
    <field ref="base.model_res_groups" name="model_id"/>
    <field name="domain_force">[('id','in',[58])]</field>
    <field eval="0" name="perm_unlink"/>
    <field eval="1" name="perm_write"/>
    <field eval="1" name="perm_read"/>
    <field eval="0" name="perm_create"/>

Is there anyone know what's the logic behind and how can i restrict the access range in res.group object for specific users?

Regards Sage

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/30/13, 2:51 AM
Seen: 1025 times
Last updated: 3/16/15, 8:10 AM