5 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 bef4e31c05 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
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
2026-11-16 12:48:02 +01:00
Sharang ParnerkarandClaude Opus 5.5 0f7cc29f10 feat(roles): company rule for separate determination and approval
ci / shared (pull_request) Successful in 11s
ci / test (pull_request) Successful in 5m51s
ci / image (pull_request) Skipped
docgen#4 Nr. 31 (AK-R3-030): the role dataset gets an optional section
company_rules with separate_approval ("Festlegung und Freigabe durch
verschiedene Personen"). Not set counts as off.

- The rule is maintained by whoever maintains the dataset (AM-3),
  stamped from the writer's token, and historised with the revisions.
- Older datasets decode unchanged and store no section.
- GET /v1/tenants/{id}/role-dataset/rules answers the rules now for
  Werkmeister (tenants.read) or a member of the tenant.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
2026-11-12 18:11:17 +01:00
Sharang ParnerkarandClaude Opus 5.5 9c2e23a036 feat(roles): who holds a function (RBAC step 5)
ci / shared (pull_request) Successful in 12s
ci / test (pull_request) Failing after 5m56s
ci / image (pull_request) Skipped
GET /v1/tenants/{id}/role-dataset/holders?function=…[&scope] answers
who holds a role-dataset function now: the holders in the scope, the
effective deputies of the function and open/filled/not applicable.
Werkmeister reads it (tenants.read) when a step names a function.

It shares the matching with /resolve, which now goes through it; for a
decision type, only deputies covering it count, as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
2026-11-11 22:14:54 +01:00
sharangandClaude Opus 5.5 cb173104b6 fix(roles): check the right to save before the revision (#100)
ci / shared (push) Successful in 15s
ci / test (push) Successful in 26m43s
ci / image (push) Successful in 33s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
2026-10-28 12:00:46 +00:00
sharangandClaude Opus 5.5 1b9e2f1183 feat: role and authority dataset (R1 S0) (#93)
ci / shared (push) Successful in 12s
ci / test (push) Successful in 24m37s
ci / image (push) Successful in 44s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
2026-10-26 21:18:57 +00:00