Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support field-level authorization #111

Open
gmac opened this issue Dec 29, 2023 · 0 comments
Open

Support field-level authorization #111

gmac opened this issue Dec 29, 2023 · 0 comments
Labels

Comments

@gmac
Copy link
Owner

gmac commented Dec 29, 2023

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 gmac added the feature label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant