Skip to content

Conversation

@divarvel
Copy link
Contributor

  • expose Authorizer::run_with_limits
  • use it in Authorizer::authorize_with_limits

fixes #311

The provided limits were correctly used in the authorization step, but not in the datalog fact generation step. For authorizers where the run step was already done, it did not change anything, but for authorizers not run yet, the provided limits were not used.

…hase

- expose `Authorizer::run_with_limits`
- use it in `Authorizer::authorize_with_limits`

fixes #311
Copy link

@georglauterbach georglauterbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👌🏽

@divarvel divarvel merged commit 05ac2eb into main Sep 17, 2025
4 checks passed
@divarvel divarvel deleted the push-yqnqkwntskur branch September 17, 2025 07:14
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.

bug: Authorizer::run() behaves the same for Authorizer::authorize() and Authorizer::authorize_with_limits() when it should not

4 participants