Odoo’s default behavior displays an error when users attempt to access documents they are not authorized to view. The message typically says:
“You’re not allowed to access this document. Only users with the following access groups are allowed: …”
This generic error provides no clear path for users to proceed. The Request Access on Access Error feature improves this by adding a "Request Access" button directly to the access error pop-up.
When clicked:
-
A request record is generated, capturing:
- The user attempting access
- The model and record they tried to access
- The timestamp and attempted action
- This request is then assigned to a designated reviewer group (e.g., Managers, Admins, or the record owner).
- The reviewer can view all pending access requests in a centralized menu (e.g., “Access Requests”).
- Reviewers can approve or deny requests, and optionally grant permissions or initiate communication with the requester.
- An optional email/notification is triggered when a request is submitted and when it’s resolved.
This feature closes the communication gap between end users and admins, streamlining access workflows and reducing IT support overhead.
Example Use Case
A sales representative tries to open a restricted project record and encounters the standard access error:
“You’re not allowed to access this document. Only users in the ‘Project Manager’ group can view this record.”
Instead of getting stuck:
- They click the new “Request Access” button.
- A request is logged and routed to the Project Manager.
- The manager reviews the request and either grants access or replies with clarification.
- The sales rep is notified of the outcome, all within Odoo.
Key Benefits
- Streamlined Permissions Workflow
Empowers users to request access without escalating via email or support tickets. - Access Traceability
Logs and tracks all access requests for compliance and audit purposes. - Improved User Experience
Transforms error popups into action-oriented dialogs. - Admin Control
Gives designated reviewers full control over access decisions, with record-level context. - Reduced Support Load
Minimizes manual intervention by the IT/security team through self-service requests.
Conclusion
The Request Access on Access Error feature enhances Odoo’s access control system with a user-friendly, trackable, and efficient request mechanism. By replacing static error messages with actionable access requests, this feature improves internal workflows, boosts user productivity, and ensures controlled access in a structured and transparent manner.
Request Access On Access Error