-
Notifications
You must be signed in to change notification settings - Fork 0
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 authorization via central OPA instance #1
Conversation
e17909d
to
6673f21
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me, it would be good if we could add tests and/or prescribe a way to test it offline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy I understand these changes although my understanding of OPA et al. is still limited
Allows the host to be configurable via CLI/env
As the central admin rules do not provide a convenient single endpoint, we're now using the 'ad-hoc query' endpoint and taking the required queries as user provided configuration.
Requires new rules on central OPA instance but allows all logic to be reduced to a single yes/no response.
Now there are no return types to handle there is no need to separate the admin and access versions.
No description provided.