issues #3523498 Improve access control logic for entity reference fields in isAccessAllowed() method
refactor: validate that entity_reference fields being evaluated match the configured target_bundles from permissions_by_term.settings. refactor: Skip the parent field on taxonomy term entities during recursive checks to prevent unnecessary evaluation and potential circular references.
Closes #3523498