Media Library uploads visible to all users on site
All items uploaded to a site media library are visible to all users, not just administrators or the user who uploaded the media.
This is causing issues for professors who want students uploading images (of solutions to math problems) to a private homework post. Students (authors) are able to see other authors media, even though they are unable to see their private posts.
Is it possible to restrict authors' media library access/viewing to only images and media that they have uploaded?
Updated by Boone Gorges about 4 years ago
- Status changed from New to Resolved
- Target version set to 1.13.8
This is default WordPress behavior that it seems unadvisable to change across the whole network.
We can add a plugin like https://wordpress.org/plugins/restrict-media-library-access/. Admins would have the ability to activate it.
I've added the plugin in https://github.com/cuny-academic-commons/cac/commit/3a0ac5961919e5d3b908178aff07831a219d7828. It will be part of the release later today. If you discover after the release that it doesn't fit the bill, please open a separate ticket referencing this one and we'll take a closer look.