diff --git a/services/acl/Acl.Infrastructure/OpenZaakGateway.cs b/services/acl/Acl.Infrastructure/OpenZaakGateway.cs index cee0c9a..fca6cb2 100644 --- a/services/acl/Acl.Infrastructure/OpenZaakGateway.cs +++ b/services/acl/Acl.Infrastructure/OpenZaakGateway.cs @@ -99,7 +99,10 @@ public sealed class OpenZaakGateway(HttpClient http, OpenZaakOptions options) : request.Inhoud.Length, request.Vertrouwelijkheidaanduiding, 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); // 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("vertrouwelijkheidaanduiding")] string Vertrouwelijkheidaanduiding, [property: JsonPropertyName("formaat")] string Formaat, - [property: JsonPropertyName("status")] string Status); + [property: JsonPropertyName("status")] string Status, + [property: JsonPropertyName("indicatiegebruiksrecht")] bool Indicatiegebruiksrecht); private sealed record ZaakInformatieobjectDto( [property: JsonPropertyName("zaak")] string Zaak,