test(acl): list published zaaktypen for the beheer catalogus viewer (refs #130)

This commit is contained in:
not
2026-07-24 10:44:05 +02:00
parent d95741385a
commit a62a09bdff
6 changed files with 43 additions and 0 deletions
@@ -42,6 +42,12 @@ public sealed class AclService(IZaakGateway gateway, AclDefaults defaults, IZaak
await gateway.SetZaakToCancellationStatusAsync(zaakUrl, await catalog.GetZaaktypeUrlAsync(ct), clock.Today, ct);
}
/// <summary>The published zaaktypen, for the beheer catalogus viewer (S-15a). Read-only passthrough:
/// no default-fill, the ACL is simply the only code allowed to read ZGW (§8.1).</summary>
public Task<IReadOnlyList<ZaaktypeSummary>> ListZaaktypenAsync(CancellationToken ct = default) =>
// ponytail: stub for the red test; real passthrough lands in the green commit.
Task.FromResult<IReadOnlyList<ZaaktypeSummary>>([]);
/// <summary>The zaak's reference (its ZGW identificatie), for the read projection (#78).</summary>
public Task<string> GetZaakReferenceAsync(Uri zaakUrl, CancellationToken ct = default)
{