Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make ctx.params and ctx.query available to graphql policies #4272
When a policy is triggered via a GraphQL route, it's not possible to read the query params (i.e.
This makes it impossible to perform some policies such as verifying ownership of documents, etc.
If this was by design, please do let me know why.
What this PR does
Overall, I'm just moving up a bunch of already-existing code earlier, so that policies have access to the
Main update on the:
Manual testing done on the following databases: