- Issue created by @goz
In the case i have an entity which reference entities, if i use "Referenced entities" source in my component and use those referenced entities to display data in my component, i can access to data of entities i should not. No access are checked.
Create a Bundle of node "Recipe" with a field reference to bundles of nodes "Ingredients".
In Recipe display , create a component with a "Referenced entities" which use referenced Ingredients data (nor render Ingredients).
In case i should not access to an ingredient (ex: status is false or access is forbidden), ingredient should not be available, but currently, it displays.
In EntityReferencedDerivableContext::getReferencedEntities(), check access to the entity with access method.
Active
2.0
Code