Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #6529 / #6732 : Check if entity is Accessible before processActions in EntityFactory #6772

Open
wants to merge 2 commits into
base: 4.x
Choose a base branch
from

Conversation

octoseth
Copy link

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:

@octoseth octoseth changed the title Check if entity is Accessible before processActions in EntityFactory Fix #6529 / #6732 : Check if entity is Accessible before processActions in EntityFactory Jan 29, 2025
@octoseth octoseth changed the title Fix #6529 / #6732 : Check if entity is Accessible before processActions in EntityFactory [WIP] - Fix #6529 / #6732 : Check if entity is Accessible before processActions in EntityFactory Jan 30, 2025
@octoseth octoseth changed the title [WIP] - Fix #6529 / #6732 : Check if entity is Accessible before processActions in EntityFactory Fix #6529 / #6732 : Check if entity is Accessible before processActions in EntityFactory Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant