Skip to content

fix(keycloak-scoutid): add notification-sender client role - #38

Merged
scriptcoded merged 1 commit into
mainfrom
fix/notifications-sender-role
Jul 2, 2026
Merged

fix(keycloak-scoutid): add notification-sender client role#38
scriptcoded merged 1 commit into
mainfrom
fix/notifications-sender-role

Conversation

@hakan-persson

Copy link
Copy Markdown
Member

What

Adds the missing notification-sender client role to the j26-notifications client in the prod jamboree26 realm config.

roles:
  client:
    j26-notifications:
      - name: notification-sender
        description: "Sender of notifications"

Why

j26-notifications had no client roles defined, so notification-sender couldn't be assigned to users via resource_access["j26-notifications"].roles. This adds it.

Scope

  • Additive only — one new client role. No other realm changes (the rest of the diff is untouched).
  • Regenerated 45-keycloak-config-configmap.yaml in the prod manifest dir from the j26-keycloak-scoutid source (keycloak-config/04-clients.yaml, committed/pushed there separately).

Already verified live

Applied to the prod cluster and ran config-cli ahead of this PR — import clean (no ERROR lines), and the role is confirmed present on the j26-notifications client via kcadm. So merging makes main match what's already running.

🤖 Generated with Claude Code

The j26-notifications client was missing its `notification-sender` client
role, so it couldn't be assigned via resource_access. Regenerated
45-keycloak-config-configmap.yaml from the j26-keycloak-scoutid source
(04-clients.yaml) to add it under roles.client.j26-notifications.

Additive only — no other realm changes. Already applied + verified live in
the prod jamboree26 realm (config-cli import clean, role present on the
client).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 29, 2026 09:24
@hakan-persson
hakan-persson requested a review from a team as a code owner June 29, 2026 09:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a missing Keycloak client role (notification-sender) to the j26-notifications client in the production j26-keycloak-scoutid realm configuration, enabling assignment via resource_access["j26-notifications"].roles.

Changes:

  • Adds roles.client.j26-notifications.notification-sender with a description to the prod realm config ConfigMap.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@scriptcoded
scriptcoded merged commit 9756d96 into main Jul 2, 2026
1 check passed
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.

3 participants