fix(authz): bundle labels as the portal names them; last admin message #126

Merged
sharang merged 2 commits from fix/catalogue-labels into main 2026-11-12 10:20:19 +00:00
Owner

Points 2 and 3 of control-center's docs check (product-docs #10), for this prod round.

  • Bundle labels follow the portal: CXO "Geschäftsleitung" → "Geschäftsführung", OWNER "Inhaber des Arbeitsbereichs" → "Inhaberschaft". Catalogue version 2026-11-12.1.
    • The portal is the customer-facing, bilingual source.
    • "Geschäftsführung" as the role keeps it apart from the company function "Geschäftsleitung" (r1.geschaeftsleitung) in Verantwortliche.
    • Position labels (S "Geschäftsführung", L "Geschäftsleitung") are unchanged; they name positions, not bundles.
  • last_admin refusals now say "the last administrator (IT_ADMIN or OWNER) of a workspace …". The guard always held for both; the message named only IT_ADMIN.
  • No capability or bundle membership changes; the pin tests are untouched and green.

The portal and Werkmeister fixtures follow in their own PRs. Werkmeister on prod will log rights catalogue loaded with version 2026-11-12.1.

🤖 Generated with Claude Code

https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf

Points 2 and 3 of control-center's docs check (product-docs #10), for this prod round. - **Bundle labels** follow the portal: CXO "Geschäftsleitung" → **"Geschäftsführung"**, OWNER "Inhaber des Arbeitsbereichs" → **"Inhaberschaft"**. Catalogue version **2026-11-12.1**. - The portal is the customer-facing, bilingual source. - "Geschäftsführung" as the role keeps it apart from the company function "Geschäftsleitung" (`r1.geschaeftsleitung`) in Verantwortliche. - Position labels (S "Geschäftsführung", L "Geschäftsleitung") are unchanged; they name positions, not bundles. - **last_admin** refusals now say "the last administrator (IT_ADMIN or OWNER) of a workspace …". The guard always held for both; the message named only IT_ADMIN. - No capability or bundle membership changes; the pin tests are untouched and green. The portal and Werkmeister fixtures follow in their own PRs. Werkmeister on prod will log `rights catalogue loaded` with version 2026-11-12.1. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
sharang added 1 commit 2026-11-12 09:59:27 +00:00
fix(authz): bundle labels as the portal names them; last admin message
ci / shared (pull_request) Successful in 11s
ci / test (pull_request) Failing after 6m10s
ci / image (pull_request) Skipped
f4a9f937fb
The catalogue named CXO "Geschäftsleitung" and OWNER "Inhaber des
Arbeitsbereichs", while the portal shows "Geschäftsführung" and
"Inhaberschaft". The catalogue now takes the portal's names (version
2026-11-12.1), which also keeps the role "Geschäftsführung" apart from
the company function "Geschäftsleitung" of the role dataset.

The last-admin refusal named only IT_ADMIN; the guard holds for OWNER
too, so the message now says "the last administrator (IT_ADMIN or
OWNER)".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
sharang added 1 commit 2026-11-12 10:14:17 +00:00
ci: run the tests uncached so the coverage total is complete
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 5m44s
ci / image (pull_request) Skipped
be95574847
With the runner's test cache, packages marked "(cached)" left their
share out of cover.out and the total fell under the 70% gate, while the
same code passed on a run without cached results (main dd94763: every
package run, gate passed; PR #126: six packages cached, gate failed
twice with the same per-package numbers). -count=1 runs them all.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
sharang merged commit 25f46706a8 into main 2026-11-12 10:20:19 +00:00
Sign in to join this conversation.