OpenERP Security and permissions:
In OpenERP, Security is a major concern when any application is considered. Security is an important factor and it is easy to provide security in module basis.
Groups can be created as normal records. objects may be accessible indirectly without menu. In order to prevent this, object level permissions must be defined for groups.
you can insert permissions via CSV file in the security folder inside module.
file name always is ir.model.access.csv
The example below provide a basic view of providing group based access rights.
Defining group :
Defining Access Rights ( ir.model.access.csv ) :
now. Read More
Now you can give Menu Access to this group. As we know that we defined our group above. we can give this group to our menu or we can define another field menu_access in group record.
Menu Access to group
And please , don’t forget to include the xml files and ir.model.access.csv in the OpenERP Descriptor with full path. As you already know 🙂 🙂
Leave a Comment