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

server: pass IQBC to authorizer #4838

Merged

Conversation

srenatus
Copy link
Contributor

@srenatus srenatus commented Jul 4, 2022

Before, the option InterQueryCache(...) passed to the authorizer's config
had set it to nil -- it wasn't set up yet.

Now, the ordering allows for caching in the system authz policies.

Fixes #4829.

@srenatus srenatus force-pushed the sr/authorizer-interquery-cache branch from 2e59e63 to 12d03d8 Compare July 4, 2022 11:56
@srenatus srenatus marked this pull request as ready for review July 4, 2022 11:56
Before, the option InterQueryCache(...) passed to the authorizer's config
had set it to `nil` -- it wasn't set up yet.

 Now, the ordering allows for caching in the system authz policies.

Fixes open-policy-agent#4829.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
@srenatus srenatus force-pushed the sr/authorizer-interquery-cache branch from 12d03d8 to 308ec65 Compare July 4, 2022 12:06
@srenatus srenatus merged commit 7305b16 into open-policy-agent:main Jul 4, 2022
@srenatus srenatus deleted the sr/authorizer-interquery-cache branch July 4, 2022 12:06
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 this pull request may close these issues.

OPA force cache not working with system.authz policy
1 participant