Details
-
New Feature
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
None
-
None
Description
Middleware we can add to gqlgen to handle permission checks automagically. https://gqlgen.com/reference/directives/
I'm not certain that adding a gqlgen middleware that takes in the input variables is doable, but it's worth investigating how to get obj interface{} to contain the input variables so that we can check if a user is an admin of a specific project.