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
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 be95574847 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
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
2026-11-12 11:14:15 +01:00
Sharang ParnerkarandClaude Opus 5.5 f4a9f937fb 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
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
2026-11-12 10:59:15 +01:00