Skip to Content

Request Access On Access Error

When a user encounters an access error, they are given the option to send an activity to assignee to give access
April 30, 2025 by
Request Access On Access Error
Silverdale Technology, Somroo Hassaan
| No comments yet

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:

  1. A request record is generated, capturing:
    1. The user attempting access
    2. The model and record they tried to access
    3. The timestamp and attempted action
  2. This request is then assigned to a designated reviewer group (e.g., Managers, Admins, or the record owner).
  3. The reviewer can view all pending access requests in a centralized menu (e.g., “Access Requests”).
  4. Reviewers can approve or deny requests, and optionally grant permissions or initiate communication with the requester.
  5. 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

  1. Streamlined Permissions Workflow
    Empowers users to request access without escalating via email or support tickets.
  2. Access Traceability
    Logs and tracks all access requests for compliance and audit purposes.
  3. Improved User Experience
    Transforms error popups into action-oriented dialogs.
  4. Admin Control
    Gives designated reviewers full control over access decisions, with record-level context.
  5. 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.

Share this post
Sign in to leave a comment