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',)]</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?
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
|Asked: 10/30/13, 2:51 AM|
|Seen: 575 times|
|Last updated: 3/16/15, 8:10 AM|