I need the ability to allow users to insert media (images) into a page / post, but not allow them to upload the files.
The only capability I can see is 'upload_files', which allows a user to upload / insert files.
Is there a way to prevent upload of files but still show the media manager (via the 'Insert Media' button on the Edit screen) allowing users to insert the images?
My thought of how to approach this would be via jQuery - run a script when the capability is something like 'my_insert_media', which would hide the 'Upload' tab of the media uploader. Of course this could be worked around by disabling Javascript in the browser, but that's not a major concern for this project.
Any other suggestions, or holes in this approach?
Thanks, Dan