Skip to content

Keycloak reconfig - #16

Merged
johnworth merged 2 commits into
mainfrom
keycloak-reconfig
May 8, 2026
Merged

Keycloak reconfig#16
johnworth merged 2 commits into
mainfrom
keycloak-reconfig

Conversation

@johnworth

Copy link
Copy Markdown
Collaborator

Adds support for allowing admins into a running analysis.

John Wregglesworth and others added 2 commits May 7, 2026 12:23
- Return a typed errAccessDenied sentinel from authenticateAndAuthorize
  instead of a one-off fmt.Errorf string. The test now uses errors.Is
  rather than substring-matching the error message, per CLAUDE.md
  guidance to avoid string-matching errors.
- Extract the OAuth-callback admin-flag computation into a small
  computeIsAdmin method on *VICEProxy and add table-driven unit tests
  covering matching/non-matching/empty/missing-claim cases. Closes the
  test coverage gap on the callback site (previously only the
  per-request authenticateAndAuthorize path was covered).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@johnworth

Copy link
Copy Markdown
Collaborator Author

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

- If this code review was useful, please react with 👍. Otherwise, react with 👎.

@johnworth
johnworth merged commit 3fb5f8d into main May 8, 2026
3 checks passed
@johnworth
johnworth deleted the keycloak-reconfig branch May 8, 2026 15:10
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.

1 participant