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

Add Library to support on AuthZ #7985

Closed
creydr opened this issue Jun 10, 2024 · 0 comments · Fixed by #8002
Closed

Add Library to support on AuthZ #7985

creydr opened this issue Jun 10, 2024 · 0 comments · Fixed by #8002
Assignees
Labels
triage/accepted Issues which should be fixed (post-triage)

Comments

@creydr
Copy link
Member

creydr commented Jun 10, 2024

To support the EventPolicy implementation, we should have a library provinding the following functionality:

  • Return all policies for a given target or resource
  • Resolve the identity of a given reference (ref -> sub)
  • Check if a subject (sub) is contained in a list of subs (.status.from) or matches a glob

In addition the OIDC library should be updated to provide the subject of a valid JWT.

Prerequisites:

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/accepted Issues which should be fixed (post-triage)
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant