#Modifying query in collection access control

2 messages · Page 1 of 1 (latest)

stiff hamlet
#

With the payload access controls the function gets two params, the id if it's a findByID and the req object

Will there be a way in the future to get the current query being passed in? We want to be able to do logic like not allowing a user to see all items, but if say one is linked to a user via a slug to allow them to see it.

drifting ledge
#

Hey @stiff hamlet do you still need help with this? have you found a workaround?