Bug #54589

Role parent is not removed from roles MM table

Added by Andreas Wolf over 7 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Security
Target version:
-
Start date:
2013-12-24
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

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:

  1. Add a role with two parent roles to the table, run some action
  2. check typo3_flow_security_policy_role_parentroles_join for the inheritance: there should be two entries in it
  3. remove one of the parent roles, run some action
  4. check typo3_flow_security_policy_role_parentroles_join: one entry should have gone
  5. remove the other parent role, run some action
  6. 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.

No data to display

Also available in: Atom PDF