fix(acl): set indicatiegebruiksrecht=false on the diploma document (refs #103)
CI / lint (pull_request) Successful in 1m22s
CI / build (pull_request) Successful in 1m3s
CI / unit (pull_request) Successful in 1m18s
CI / frontend (pull_request) Successful in 2m45s
CI / mutation (pull_request) Successful in 5m42s
CI / verify-stack (pull_request) Failing after 5m44s

Records 'no usage-rights restrictions' explicitly so OpenZaak allows the
related zaak to be closed on behandelaar approval, fixing the verify-stack
e2e regression introduced by S-10b diploma upload.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
not
2026-07-21 13:31:44 +02:00
co-authored by Claude Opus 4.8
parent 53e9564f94
commit 756e718ee2
@@ -99,7 +99,10 @@ public sealed class OpenZaakGateway(HttpClient http, OpenZaakOptions options) :
request.Inhoud.Length, request.Inhoud.Length,
request.Vertrouwelijkheidaanduiding, request.Vertrouwelijkheidaanduiding,
request.Formaat, request.Formaat,
"definitief"), "definitief",
// No usage-rights restrictions apply. Left null, OpenZaak rejects closing the related
// zaak with "indicatiegebruiksrecht-unset"; false records the deliberate "none" answer.
false),
"Creating the informatieobject", ct); "Creating the informatieobject", ct);
// 2. Relate it to the zaak (Zaken API — no CRS). // 2. Relate it to the zaak (Zaken API — no CRS).
@@ -248,7 +251,8 @@ public sealed class OpenZaakGateway(HttpClient http, OpenZaakOptions options) :
[property: JsonPropertyName("bestandsomvang")] int Bestandsomvang, [property: JsonPropertyName("bestandsomvang")] int Bestandsomvang,
[property: JsonPropertyName("vertrouwelijkheidaanduiding")] string Vertrouwelijkheidaanduiding, [property: JsonPropertyName("vertrouwelijkheidaanduiding")] string Vertrouwelijkheidaanduiding,
[property: JsonPropertyName("formaat")] string Formaat, [property: JsonPropertyName("formaat")] string Formaat,
[property: JsonPropertyName("status")] string Status); [property: JsonPropertyName("status")] string Status,
[property: JsonPropertyName("indicatiegebruiksrecht")] bool Indicatiegebruiksrecht);
private sealed record ZaakInformatieobjectDto( private sealed record ZaakInformatieobjectDto(
[property: JsonPropertyName("zaak")] string Zaak, [property: JsonPropertyName("zaak")] string Zaak,