Skip to content

Conversation

ibihim
Copy link
Collaborator

@ibihim ibihim commented May 21, 2025

What

Add unit tests that verify the authorizers work as expected in appropriate order.

Why

I want to refactor that stuff 😄

@stlaz stlaz added the sig-auth-acceptance issues created during review for sig-auth-acceptance label May 26, 2025
@ibihim ibihim force-pushed the krp-sig-auth-acceptance-authz-unit-tests branch 2 times, most recently from d53adc1 to 8a280a8 Compare May 27, 2025 14:54
In particular it seems to be useful to verify the order of authorization
as well.
@ibihim ibihim force-pushed the krp-sig-auth-acceptance-authz-unit-tests branch from 8a280a8 to 1c0f41f Compare May 27, 2025 15:22
Copy link
Collaborator

@stlaz stlaz left a comment

Choose a reason for hiding this comment

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

bunch of nits, we're missing a (Deny, Err=nil) branch in the delegating authorizer

@stlaz
Copy link
Collaborator

stlaz commented Sep 25, 2025

LGTM, let's fix the CI and merge

@ibihim ibihim merged commit 24dbd85 into brancz:sig-auth-acceptance Sep 25, 2025
13 of 14 checks passed
@ibihim ibihim deleted the krp-sig-auth-acceptance-authz-unit-tests branch September 25, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig-auth-acceptance issues created during review for sig-auth-acceptance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants