Bug #54589
Role parent is not removed from roles MM table
Status: | New | Start date: | 2013-12-24 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Security | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | (any) |
Description
When removing a parent role from Policy.yaml, this change is not reflected in the table typo3_flow_security_policy_role_parentroles_join if there are no parent roles for this role anymore.
How to test:
- Add a role with two parent roles to the table, run some action
- check typo3_flow_security_policy_role_parentroles_join for the inheritance: there should be two entries in it
- remove one of the parent roles, run some action
- check typo3_flow_security_policy_role_parentroles_join: one entry should have gone
- remove the other parent role, run some action
- check typo3_flow_security_policy_role_parentroles_join: the entry is still there, but should be gone.
Note: the affected Flow version is 2.1, but I cannot select this because the entry is missing.