Fix #6529 / #6732 : Check if entity is Accessible before processActions in EntityFactory
Hi, Today I encountered issues #6529 and #6732 in a project, so I propose this fix.
This pull request includes changes to the EntityFactory class in the src/Factory/EntityFactory.php file. The main update is the addition of an accessibility check for entities before processing actions, which ensures that only accessible entities are processed.
Entity accessibility check:
-
src/Factory/EntityFactory.php: Added a check to skip processing for entities that are not accessible in theprocessActionsForAllmethod.
Thanks, your fix works! How is this not merged yet?
Hi @javiereguiluz can you please look at this PR? This bugs affected many projects. Thx :)
Any news about this merge? I need to use setEntityPermission but is not working with version 4.25