As an admin I really like the features and functionality of the WordPress 3.5 media manager.
With a multi-user site however all users can see all images in the media library - whether uploaded by them or not. Previously a functions.php
script could mask / restrict access.
For example:
// Hide Media Library tab Tab from each individual agent
function remove_medialibrary_tab($tabs) {
if ( !current_user_can( 'update_core' ) ) {
unset($tabs['library']);
return $tabs;
} }
add_filter('media_upload_tabs','remove_medialibrary_tab');
This no longer works as I believe the media library is now JavaScript based.
The question: how can I now hide or mask the WordPress 3.5 media library images from users that did not upload the images in the library? I want users to only see their own images or to only see the images they uploaded to this specific post or page.
The current structure and design is great for the likes of a newspaper that wants to share images across their entire organization of users - but not so good for sites that have needs for stricter controls with independent multi-user access.
I am not a coder - or am an amateur at best - but it occurs to me that options might include: masking or coding out all attachment filters in the new 3.5 library dropdown menu only leaving the "uploaded to this page" in the list - or - possibly a switch that would allow admins to switch visibility on or off to the media library images for general users.
Any guidance or direction on this would be appreciated.