Restrict Debug Mode Access
by Sheikh Muhammad Saad https://odooelevate.odoo.com/ , OdooElevate https://odooelevate.odoo.com/| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 174 |
| Technical Name |
oe_restrict_debug_mode |
| License | AGPL-3 |
| Website | https://odooelevate.odoo.com/ |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 174 |
| Technical Name |
oe_restrict_debug_mode |
| License | AGPL-3 |
| Website | https://odooelevate.odoo.com/ |
| Versions | 17.0 18.0 19.0 |
Compatible With
Odoo Community
Full functionality with open-source Odoo
SUPPORTEDOdoo Enterprise
Seamless integration with Enterprise features
SUPPORTEDWorks perfectly on Odoo 19 - Both Community and Enterprise Editions
Overview
-
The Restrict Debug Mode Access module empowers administrators to tightly control access to Odoo's powerful Developer (Debug) Mode.
This enhances security and prevents unintended system modifications by unauthorized users. Only users assigned to the dedicated security group can access Debug Mode.
Unauthorized attempts trigger a full-screen "ACCESS DENIED" message with an automatic countdown and page refresh, ensuring the restriction is enforced.
The module integrates seamlessly with Odoo's core session management and web assets without modifying any core files — ensuring compatibility and easy updates.
Developed and maintained by OdooElevate.
Key Features
-
Group-Based Access Control
Control Debug Mode access by assigning users to a dedicated security group. Only authorized personnel can enable Developer Mode.
-
Access Denied Screen
Unauthorized attempts trigger a full-screen overlay with "ACCESS DENIED" message and automatic 5-second countdown before page refresh.
-
Enhanced Security
Prevents non-technical users from accidentally or intentionally using Debug Mode, safeguarding your Odoo instance's integrity.
-
Seamless Integration
Integrates with Odoo's core session management and web assets without modifying core files. Zero configuration needed.
How It Works
A step-by-step guide to restricting Debug Mode access
Go to Settings → Users & Companies → Users, select a user, and assign the "Restrict Debug Mode Access" group
The Debug Mode bug icon in the top-right corner is targeted by the module's restrictions
Unauthorized users see a full-screen "ACCESS DENIED" message with a 5-second countdown before automatic page refresh
Perfect For
-
System Administrators
Control who can access developer tools in production
-
Business Owners
Protect production environments from accidental changes
-
IT Managers
Enforce security policies across your organization
-
Consultants
Secure client instances from unauthorized debug access
Why Choose This Module?
-
No Configuration Needed
Works out of the box
-
Group-Based Control
Fine-grained access management
-
Visual Feedback
Clear Access Denied screen
-
Auto Page Refresh
Enforces restriction instantly
-
No Core Changes
Clean module integration
-
Community + Enterprise
Both editions supported
Other Applications
Our Services
Contact Us
We'd love to hear from you - reach out anytime
Website
odooelevate: Home
Please log in to comment on this module