Using media-upload.php – requires user to have edit_posts capability?

The solution to this is pretty ugly. First, I am going to have to create all posts in this system starting at a high ID number (say, 10000). I’ll have to do this via wp_insert_post with the “import_id” suggestion. That will move all the content I don’t want the user to be able to touch, to a safe range.

Then, using the method described here: http://mawaha.com/allow-user-to-edit-specific-post-using-map_meta_cap/

map the meta capability for “edit_post”, when post number is less than 10000.

It works, but man I wish WP allowed a capability filter to be added to the media handler 🙁