Follow-up from "Resolve "restricted files exposed""
The following discussion from !218 should be addressed:
- [ ] @uveentj started a [discussion](https://gitlab.gwdg.de/discuss-data/discuss-data/-/merge_requests/218#note_184145):
> I did not test it, but I share the concern, there should be an issue for this
- [ ] @uveentj started a [discussion](https://gitlab.gwdg.de/discuss-data/discuss-data/-/merge_requests/218#note_184146):
> same as above, issue would be good
see https://gitlab.gwdg.de/discuss-data/discuss-data/-/merge_requests/218/diffs#176d5931972c7964aac7bca053a3053e22bcf859_142_142 and https://gitlab.gwdg.de/discuss-data/discuss-data/-/merge_requests/218/diffs#176d5931972c7964aac7bca053a3053e22bcf859_153_154
issue