Closed (fixed)
Project:
Entity Recycle
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2021 at 10:20 UTC
Updated:
31 Mar 2021 at 07:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ahmad-alyasaki commentedI had no idea why in entity access hook with operation view check for a selected bundle if it's not in the selected setting, return access forbidden
Comment #3
nkoporecHi, yea this seems like a bug, could you update the patch and instead of deleting the code just add return AccessResult:: neutral() ?
That way the the execution will be faster since it will return early.
Comment #4
ahmad-alyasaki commentedI think you are right, here is the new patch
Comment #6
nkoporeccommitted, thanks!