-
Notifications
You must be signed in to change notification settings - Fork 933
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
Introduce Authorizer interface #12053
Introduce Authorizer interface #12053
Conversation
c5fda6d
to
b54f6b9
Compare
284731b
to
cc1aa13
Compare
@tomponline I ran the RBAC tests locally, and they succeed. |
Great work! Do we have tests for the TLS cert authorization method? |
Could you create a document for how you set that up, as I'd like to see if we can automate those tests too. |
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.
Overall this looks really promising, and I think it will make it much easier to add the rebac support.
Thanks!
cc1aa13
to
ad52e7d
Compare
We do have tests in |
Yes, of course, I'll do that. |
Cool, and does this new interface also handle that sort of authorization? |
Yes, that is handled by the |
ad52e7d
to
9cfa4aa
Compare
Hi @monstermunchkin please can you rebase to fix conflict |
I'll do that. I think I'll also remove the Authorizer interface from the state. Since RBAC relies on the state, I don't want to run into any circular dependency issues when adding OpenFGA. Also, removing it from state will make the implementation somewhat cleaner as we can have the files on the same levels, i.e.
|
Signed-off-by: Thomas Hipp <[email protected]>
Signed-off-by: Thomas Hipp <[email protected]>
9cfa4aa
to
f634240
Compare
Signed-off-by: Thomas Hipp <[email protected]>
Signed-off-by: Thomas Hipp <[email protected]>
Signed-off-by: Thomas Hipp <[email protected]>
Signed-off-by: Thomas Hipp <[email protected]>
Signed-off-by: Thomas Hipp <[email protected]>
Signed-off-by: Thomas Hipp <[email protected]>
This ensures the status check (a goroutine) is stopped when RBAC is disabled. Signed-off-by: Thomas Hipp <[email protected]>
1e83dad
to
ea20800
Compare
No description provided.