-
Notifications
You must be signed in to change notification settings - Fork 3k
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 docs for OPA access control #20246
Conversation
eba8822
to
398708f
Compare
d437f63
to
5c0e10c
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.
LGTM other than the minor nitpick
Will work shortly on merging our work in https://github.com/bloomberg/trino/tree/add-open-policy-agent-with-docs/plugin/trino-opa/schema-docs here
That contains examples and full documentation for each operation
We've also built some JSON Schemas we could share, but that's potentially out of scope for this
I fixed the nit and will leave PR as is for now. Lets see when we get the code PR merged. Then we can adjust the docs to the same level and add more later. |
This looks good. I think we should remove duplicate stuff from the readme, so we don't have two places to maintain. |
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.
Minor comments, but otherwise looks good
Description
Converting readme from code PR into docs output and updating wording, grammar, content, and so on.
It would be great to have a few very simple rego scripts as example. Something like read only access for everyone, read only for specific catalogs only and users and groups, and maybe one or two more .. and then link to the relevant sections in the OPA docs for more. Any tips @vagaerg or @sbernauer ?
Additional context and related issues
#19532
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
Release notes entry comes from code PR.