graphql-stitching-ruby icon indicating copy to clipboard operation
graphql-stitching-ruby copied to clipboard

Support field-level authorization

Open gmac opened this issue 2 years ago • 0 comments

It'd be nice to formally support field-level authorization through the query planner, similar to other federation libraries. A few specs:

  • Unauthorized fields are simply filtered out of the request by default.
  • A setting opts requests with unauthorized fields into returning immediately with an error.

It looks like @mikeharty has been doing some auth work in his custom executor. Mike – any chance you could elaborate here with more on how the feature could/should work with what you're already doing?

gmac avatar Dec 29 '23 04:12 gmac