26-Security - Groups and access rights in Odoo

Security - Groups and access rights in odoo

Security access in Odoo is configured through security groups: permissions are given to groups and then groups are assigned to users. Odoo has a lot of groups. Once you know about groups, you can select groups from the list of groups.

Security is a major concern when an application is considered. We can control what the user can do and what users can't-do on a different level. Control independently each of the four basic operations: read, write, create, and unlink. I.e. allow only read, allow only create, grant permission to create or delete only. Also, we can hide fields or menus for some users and show them for others, make fields read-only for some users and make them editable for others. We use groups to control users.

Get the module from our repository: https://github.com/CybroOdoo/openacademy

Aside from manually managing access using custom code, Odoo provides two main data-driven mechanisms to manage or restrict access to data.

Each access control has a model to which it grants permissions, the permissions it grants and optionally a group.

If no group is specified, the access control applies to all users, otherwise, it only applies to the members of the given group.

In Odoo, views and menus are restricted to a user due to access right permission. Only admin has the right to view all records. Access right permission is managed by creating an ir.model.access.csv file.

This file can

a) Grant permission like reading, write, update, and delete to a model.

b) Can assign groups. If no group is assigned access right is applicable for all users. Else applicable only for users in that particular group

Available permissions are creation (perm_create), searching and reading (perm_read), updating existing records (perm_write) and deleting existing records (perm_unlink)

#odoodevelopment #odootutorials #odoo13
For More Videos Subscribe to our YouTube channel.

Visit our company website: https://www.cybrosys.com/

Connect with us:
Facebook: http://ow.ly/Ty0Q30lc5TU
twitter: http://ow.ly/s5cV30lc5Vc
LinkedIn: http://ow.ly/GJfg30lc5WT
Pinterest: http://bit.ly/2I2b5N0

About Us
Cybrosys is enriched with technical experts and research scholars producing high-end quality software tools. Our sophisticated infrastructure and lab facilities constantly bring in new technological innovations and attributions. Partnership with ODOO, MICROSOFT, IBM, Intel, HP, NASSCOM proves our strength and excellence.

We are Odoo Gold Partners standing par excellence in Odoo Implementation, Customization, and allied services. We do Source code sale, Custom software development, and Employee outsourcing. The latest research and developments in Cybrosys are being conducted in Blockchain. Our robust quality product and services are widely used by clients residing across in India, USA, UK, Middle East & Europe.
4293 Total Views
0 Members Views
4293 Public Views
Share on Social Networks
Share Link
Use permanent link to share in social media
Share by mail

Please login to share this video by email.

Embed in your website