feat(roles): functions of owner decision Nr. 2 in the catalogue #131

Merged
sharang merged 2 commits from feat/function-catalogue-r2-r5 into main 2026-11-16 11:57:11 +00:00
Owner

Catalogue r1-2026-11-16.1 adds the functions from owner decision Nr. 2 (docgen#6 comments 17878 and 18011) that no existing R1 function covers. The check against the R1 catalogue is in docgen#6 comment 18110.

Key Label External
r5.cvd_verantwortung CVD-Verantwortung no
r5.veroeffentlichung Veröffentlichungsverantwortung no
r2.meldefreigabe Meldefreigabe (submitting stays with r1.meldeberechtigt) no
r2.fristfuehrung Fristführung no
r2.vorabpruefung Vorabprüfung allowed
r2.weitergabe Weitergabe von Informationen no
r2.datenschutzfunktion Datenschutzfunktion (not the statutory DPO) allowed
r1.erstzuordnung, r1.eskalation, r1.einsichtsprotokollkontrolle the three R1 functions Nr. 2 keeps no
  • External holders follow the proposal in 18110 K-4 until the owner answers.
  • The R2 safety check (K-1) and product measures (K-2) are not added yet; they wait for the owner.

Fix: saves after a catalogue change

  • GET /role-dataset answered the stored dataset's catalogue_version, and the portal sends that value back when it saves.
  • So after any catalogue change, every save of an existing dataset was refused as catalogue_outdated, and reloading answered the same old version again. This catalogue change would have been the first to trigger it.
  • The answer now names the current catalogue as catalogue_version and the stored one as stored_catalogue_version.
  • The change is additive: datasets saved against the old catalogue still decode, and no migration is needed.

Tests:

  • TestRoleDataset_afterACatalogueChange: I checked that it fails without the fix.
  • TestCatalogue_ownerDecisionNr2.
  • The catalogue union test now counts the Nr. 2 functions separately.

Promotion: this rides the next registry promotion after #129. The portal needs no change, since it takes the catalogue from the answer.

🤖 Generated with Claude Code

https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf

Catalogue `r1-2026-11-16.1` adds the functions from owner decision Nr. 2 (docgen#6 comments 17878 and 18011) that no existing R1 function covers. The check against the R1 catalogue is in docgen#6 comment 18110. | Key | Label | External | |---|---|---| | `r5.cvd_verantwortung` | CVD-Verantwortung | no | | `r5.veroeffentlichung` | Veröffentlichungsverantwortung | no | | `r2.meldefreigabe` | Meldefreigabe (submitting stays with `r1.meldeberechtigt`) | no | | `r2.fristfuehrung` | Fristführung | no | | `r2.vorabpruefung` | Vorabprüfung | allowed | | `r2.weitergabe` | Weitergabe von Informationen | no | | `r2.datenschutzfunktion` | Datenschutzfunktion (not the statutory DPO) | allowed | | `r1.erstzuordnung`, `r1.eskalation`, `r1.einsichtsprotokollkontrolle` | the three R1 functions Nr. 2 keeps | no | - External holders follow the proposal in 18110 K-4 until the owner answers. - The R2 safety check (K-1) and product measures (K-2) are not added yet; they wait for the owner. **Fix: saves after a catalogue change** - `GET /role-dataset` answered the stored dataset's `catalogue_version`, and the portal sends that value back when it saves. - So after any catalogue change, every save of an existing dataset was refused as `catalogue_outdated`, and reloading answered the same old version again. This catalogue change would have been the first to trigger it. - The answer now names the current catalogue as `catalogue_version` and the stored one as `stored_catalogue_version`. - The change is additive: datasets saved against the old catalogue still decode, and no migration is needed. Tests: - `TestRoleDataset_afterACatalogueChange`: I checked that it fails without the fix. - `TestCatalogue_ownerDecisionNr2`. - The catalogue union test now counts the Nr. 2 functions separately. Promotion: this rides the next registry promotion after #129. The portal needs no change, since it takes the catalogue from the answer. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
sharang added 1 commit 2026-11-16 11:48:16 +00:00
feat(roles): functions of owner decision Nr. 2 in the catalogue
ci / shared (pull_request) Successful in 11s
ci / test (pull_request) Failing after 37s
ci / image (pull_request) Skipped
bef4e31c05
Catalogue r1-2026-11-16.1 adds the functions owner decision Nr. 2
(docgen#6 17878, 18011) names and that no R1 function already covers:
CVD-Verantwortung and Veröffentlichungsverantwortung (R5), Meldefreigabe,
Fristführung, Vorabprüfung, Weitergabe von Informationen and
Datenschutzfunktion (R2), and the R1 functions Erstzuordnung, Eskalation
and Einsichtsprotokollkontrolle. External holders as proposed in 18110
K-4. The safety check and product measures wait for the owner (K-1, K-2).

GET /role-dataset now names the current catalogue as catalogue_version
and the stored one as stored_catalogue_version. It named the stored one,
which the portal sends back on save: after any catalogue change every
save of an existing dataset was refused as catalogue_outdated, and
reloading answered the same version again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
sharang added 1 commit 2026-11-16 11:49:52 +00:00
test(roles): rank namespace check without double negation
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 7m0s
ci / image (pull_request) Skipped
b7608e07ba
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
sharang merged commit 9f24cc35dc into main 2026-11-16 11:57:11 +00:00
sharang deleted branch feat/function-catalogue-r2-r5 2026-11-16 11:57:11 +00:00
Sign in to join this conversation.