Most Odoo security incidents start with an account that has more access than it needs. A short review every quarter catches most of it.
How Odoo access works
- Roles. In recent versions, each user has a role: Administrator, User or Portal (and others depending on version). The role sets the baseline.
- Groups. Each app has groups such as “Accounting / Billing” or “Sales / Administrator”. Groups grant access to models and menus, and many groups imply others: adding one group can silently add more.
- Record rules. A second layer that narrows which records a group can see or edit, such as “only my own leads” or “only this company”.
- Technical view. With developer mode on, a user’s Technical Access Rights tab shows the selected groups and the groups added automatically.
Odoo’s documentation warns that changing access rights can damage a database, including leaving nobody able to change access rights at all. Test changes on a copy first.
The quarterly review
1. Count administrators. List users with administrator rights or Settings access. Most companies need two or three. Each extra admin is an extra target.
2. Check finance permissions. Who can:
- create and confirm vendor payments;
- edit partner bank accounts, and mark them as trusted for sending money;
- post or reset journal entries;
- change taxes, the chart of accounts or lock dates?
No single person should be able to add a supplier bank account and approve the payment to it. See protecting bank-account changes.
3. Review implied groups. Open the technical view for privileged users and read the “groups added automatically” list. Look for access nobody intended.
4. Find dormant and shared accounts. Archive users who have left or have not signed in for months. Replace shared logins (such as “accounts@”) with named users.
5. Check API access. List users with API keys, what they can do, and when the keys expire. Integration users should have the narrowest possible rights. See securing Odoo API keys.
6. Review portal users. Make sure portal accounts see only their own documents, and consider 2FA where the portal holds sensitive data. See Odoo portal 2FA.
7. Session timeouts. Where available, the auth_timeout module lets administrators set inactivity and session timeouts per group. Shorter timeouts suit finance and admin groups.
8. Record the result. Note what you changed and who approved it. Next quarter’s review starts from this list.
Make privileged access harder to abuse
Fewer admins is the first step. The second is making each privileged sign-in and action harder to fake:
- enforce two-factor authentication for all employees;
- put administrators and finance staff on passkeys or security keys;
- require a fresh confirmation for risky actions with step-up approvals.
The Odoo admin hardening checklist covers the rest.