Group permissions are not deleted when group is deleted
Bug #540840 reported by
Maximilian Gaß
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
the group_id field of ir.model.access does not set ondelete='cascade'. Therefore when you delete a group, the permissions that formerly applied to this group now apply to everyone (group_id is NULL).
I think the same problem also applies to ir_rule and ir_actions.
Related branches
visibility: | private → public |
affects: | openobject-addons → openobject-server |
Changed in openobject-server: | |
milestone: | none → 5.0.10 |
status: | New → Confirmed |
To post a comment you must log in.
I attached a patch to fix this problem. ir_rule and ir_actions are not affected.