Manifest Academy

Home › Curriculum › Odoo Developer › Groups and access rights

Security · 16 min · 17–20

Groups and access rights

res.groups, implied groups, privileges/categories, and ir.model.access.csv rights for every model you create.

In this lesson

Key points

Real-world example

A new model had access granted with an empty group_id, so portal users could read every credit release through the API. Changing the line to the internal user group (read) and credit controllers (all) closed it; a test now asserts portal users get AccessError.

Questions and answers

What is model_credit_release?

The external ID Odoo generates for the ir.model record of credit.release.

What does implied_ids do?

Members of this group automatically get the implied groups.

Read the full lesson, worked example and quiz