Media uploader enhancement
|Reported by:||fonemi||Owned by:|
I am using a plugin called "Capability Manager" that allows me to customize the roles and capabilities of my WP installation.
Think that a role has "upload_files" capability and don't have "edit_posts" capability. If a user in that role tries to upload an image, he can do it successfully, but the form he can edit the attachment doesn't appear. Everything is OK for now.
But, "Add to Post" button doesn't appear as well and "crunching..." message hangs.
So media uploader UI needs an enhancement that if a user doesn't have "edit_posts" capability, only a button like "add to editor" will appear.
If you wonder about why I need an "add to editor" button if user cannot edit posts, let me explain; I use "wp_editor" function in frontend and I don't desire to allow user to access "posts" screen in backend.
Yes, I love using WP as a highly-customizable CMS :)