Display only PDF files

Is there a way to filter what files are displayed for certain users? For example, I have a few shared folders that have many document types in them but some users only need to see .pdf files.

Never tried it myself, but maybe it is possible to achieve this with the File Access Control app: Files access control — Nextcloud latest Administration Manual latest documentation