Protect ir.rule records
The module allows protect ir.rule from modifying and deleting. Once a rule is marked as protected only superuser is able to control this rule.
Also, the module protect itself from uninstalling by non-superuser.
Roadmap
- The module should allow specifying which admins can switch to superuser mode (set True to all existing admins and False for any new users)
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 39 |
| Technical Name |
itp_ir_rule_protected |
| Website | https://it-projects.info |
Protect ir.rule records
Installation
- Install this module in a usual way
Usage
- Log in as SUPERUSER
- Activate Developer Mode
- Open menu [[ Settings ]]>> Technical >> Security >> Record Rules
- Select or create some record
- Click [Edit]
- Set "Protected" checkbox and click [Save] button.
- RESULT: the record is protected from modifying and deleting by non-superuser.
Please log in to comment on this module