Odoo Help

Welcome!

This community 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.

0

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

By
Sage
on 10/30/13, 2:51 AM 594 views

Hi,

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

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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