Is it possible to restrict uploads file types for selected WordPress role? Thanks to WordPress developers, Yes.
There is a special Upload Mimes Filter ‘upload_mimes’, which allows to change what file types are allowed to upload to your WordPress.
Let’s use the example when we need to allow to ‘author’ role upload/attach to the posts just PDF files. Read more Restrict uploads file types