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

Add @opa directive - support authorization #38

Open
omerlh opened this issue May 21, 2019 · 0 comments
Open

Add @opa directive - support authorization #38

omerlh opened this issue May 21, 2019 · 0 comments

Comments

@omerlh
Copy link

omerlh commented May 21, 2019

Add directive that specifies an OPA package name to check before executing the query, something like:

@opa(package='data/subscriptions')

The API will query OPA before executing the resolver, passing all the request input, and based on the result decide if the request is authorized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant