Search 1.9 billion lines of Odoo code on GitHub

ActionSecurity

Author: Mehdi Samadi
License: no license
Branch: 8.0
Repository: mehdisam/odoo
Dependencies: base, and web
Languages: Markdown (9, 10.5%), and Python (77, 89.5%)

<h1>ActionSecurity</h1> <p>In openerp 7.0 and sitll 8.0 you can access any view by manipulating URL even if the related menu is not available to you. This addon is my solution to this problem.</p> <p>This module restict user to only actions that she has access to from user interface. This modules check for group<em>id that is defined in the action and if user does not member of that group it drops it. If you want add your group to given action add this to one of the xml files: &lt;record id=&quot;other</em>module<em>name.action</em>id&quot; model=&quot;ir.actions.act<em>window&quot;&gt; &lt;field eval=&quot;[(6,0,[ref(&#39;your</em>group<em>name&#39;)]),]&quot; name=&quot;groups</em>id&quot;/&gt; </record> Best Regards M.samadi</p>