Segregation of Duties (SoD): conflict matrix, access reviews and emergency access
by Aerya IT Solutions https://aerya.net$ 97.52
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
Segregation of Duties (SoD): conflict matrix, access reviews and emergency access
Define which duties must never sit with one person, and Odoo checks every change of access rights: it refuses the change or sends it to a second person for approval. With access reviews, emergency access that expires and a chained evidence log for the auditor.
Access requests with four-eyes approval, risk accepted until a date
Emergency access that removes itself and stays on record
Needs only Odoo base and Discuss
Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.
on Odoo 20, and on each of the four versions: checks of every change, an administrator never locked out, requests, reviews, emergency access, the log and the browser
no warnings
conflicts, reviews and the SHA-256 chain, tested without a database
A conflicting change, approved by a second person
Marta asks for purchase approval rights for Pablo, and the request shows the conflicts they would create; Elena accepts the risk until a date and approves. Every change is in the evidence log, including a change the bank rule refused, and the audit report of the period ends with the chain check. Odoo 19 Enterprise screenshots and video, with the data of a fictitious company.
The matrix of incompatible duties
A duty is a business capability, such as registering payments or maintaining the bank accounts of vendors. A rule pairs two duties that one person should not hold together, with its risk level, the rationale and the mitigating control.
The standard rules for the apps you have installed (purchase, sales, accounting, inventory, user administration) load in monitor mode; you decide which ones block or need approval.

Duties defined by access rights, not only by groups
A duty is held through its groups or through the access rights they grant: "create bank accounts" is caught even when it comes from a custom group nobody added to the rule. Changing the access rights of a group is checked too.

Every change of access rights is checked
On the user form, in the members of a group, in implied groups or when a user is created: if the change joins incompatible duties, a blocking rule refuses it and an approval rule sends it to an access request. The refused attempt stays in the log.
Removing rights is never refused, and system changes (installing modules, general settings) are logged without being blocked: the administrator is never locked out.

Access requests with four-eyes approval
Anyone asks for groups for a user, with a reason and, if needed, an end date. The request shows the conflicts it would create. A controls manager who is neither the requester nor the user approves it and accepts the risk until a date.
Temporary access is removed at its end date, and only what the request added.

Accepted risks with a mitigating control
When a conflict cannot be avoided (a small company), it is accepted with a reason, a mitigating control and an expiry date. On expiry the conflict reopens and the controls manager gets an activity.

Access reviews by each user's reviewer
Each review sends the rights of every user to their reviewer: the one set on the user, the manager of their employee or the default reviewer. Nobody reviews their own rights. Reviewers keep or revoke from "My access reviews".
Closing the review removes the revoked rights, stores the evidence PDF and locks the review. A reminder tells you when the next one is due.

Emergency access that expires
An emergency role lists the groups it grants, who may use it, for how long, and which controller approves before or reviews after. During the session every create, change and delete made by the user is logged, with the values.
At the end everything gained during the session is removed, and the controller reviews the activity with a note.

An evidence log that cannot be changed unnoticed
Access changes with their source, refused attempts, conflicts, requests, reviews, emergency sessions and configuration changes. Nobody changes or deletes an entry from Odoo, the database refuses it, and every entry is chained with SHA-256: the check points to the first altered one.

The report for the auditor
One PDF per period and company: the matrix, open and accepted conflicts, every access change with its source and approval, refused changes, requests, emergency sessions, reviews, users with their duties and the result of the chain check.

Which controls it helps to apply
The module provides controls and evidence inside Odoo. It certifies nothing, does not replace your auditor's assessment and does not cover systems outside Odoo (servers, database, network, authentication). The sources, with their wording, are in the module README.
ISO/IEC 27001:2022
Helps you apply the access controls of Annex A inside Odoo: 5.3 (segregation of duties), 5.15 (access control), 5.18 (access rights), 8.2 (privileged access rights) and 8.15 (logging).
NIS2
Useful to prepare the access rights and privileged account management described in points 11.2 and 11.3 of Implementing Regulation (EU) 2024/2690, and the access control of article 21(2)(i) of Directive (EU) 2022/2555.
COSO 2013 and SOX 404
Supports the segregation of duties of principle 10 of the COSO framework and the IT general controls of principle 11, the basis of internal control over financial reporting.
National frameworks
The same controls serve national schemes built on these standards, such as the Spanish ENS (Esquema Nacional de Seguridad): segregation of duties of op.acc.3, the periodic access review of op.acc.4 and the activity log of op.exp.8, for the Odoo part of the system.
Everything included
Two groups of its own
Auditor (read only, report and chain check) and Controls manager. Every user sees only their own requests, reviews and emergency sessions.
Daily scan
A nightly job finds the conflicts created outside Odoo or by new rules, and reopens expired acceptances.
On the user form
The user's conflicts and a “Request access” button on the user form.
Multi-company
Conflicts, requests, reviews and emergency sessions per company, with their record rules.
Settings of its own
Who gets the activities, the longest acceptance in days and the review interval, without the general settings.
English and Spanish
Interface, standard rules and reports in both languages.
How you work with it
At install: the standard rules monitor, and the first scan shows the conflicts that already exist.
Decide: which rules block or need approval, and accept what cannot be avoided, with a mitigating control.
Every day: changes of access rights are checked; exceptions go through access requests or emergency access.
Every half year: an access review and the report of the period for the auditor.
Compatibility
| Versions | Odoo 17, 18, 19 and 20 |
| Editions | Community and Enterprise |
| Needs | Only Odoo base and Discuss (mail) |
| Optional | Employees: the employee's manager reviews their rights |
| Languages | English and Spanish |
What it does not do
It stops with a clear message instead: approving your own request or one about you, approving or reviewing your own emergency session, emergency access for the superuser or portal users or longer than the role allows, accepting a blocking rule through a request, revoking the rights of the last administrator in a review, changing or deleting the log, the emergency activity, a decided request or a closed review.
It does not analyse record rules (domains) or portal users. Someone with direct access to the database can change data: the chain detects it but cannot prevent it. With a single administrator there is no four-eyes approval: use rules that monitor or block.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 20, built to work together.
Questions or a custom quote?
Write to info@aerya.ro for questions about the module, its installation or custom development.
Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 4855 |
| Technical Name |
aerya_controls |
| License | OPL-1 |
| Website | https://aerya.net |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module