> For the complete documentation index, see [llms.txt](https://docs.valtimo.nl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.valtimo.nl/v12/release-notes/12.x.x/12.47.0.md).

# 12.47.0

## Bugfixes

* **Users only see related files they have permission to view**

  The list of files related to a case (`GET /api/v1/zaken-api/document/{documentId}/files`) was returned without checking the `view_list` permission on ZGW documents, so users without that permission could still see which files belong to the case. The list is now empty for those users. This applies when `valtimo.authorization.zgwDocuments.enabled` is set to `true`.
