Allow "contributors" to add media files
I have a "contributor" on my site that wants to add media files to her post but she can't. I found several articles on the topic:
Looks like either the PHP code can be added or several plug-ins installed, e.g., User Role Editor, to allow her to add media files. Could you adopt one of these solutions?
Updated by Boone Gorges 2 months ago
- Status changed from New to Reporter Feedback
Hi Raffi - As you note, the upload_files capability is not ascribed to the Contributor role by WordPress. See https://wordpress.org/support/article/roles-and-capabilities/ for the default role-capability matrix.
I'm wary of any changes to WP's default role definitions that will affect sites across the Commons. Users who are familiar with WordPress (or those who reference any WP documentation) will expect the Contributor role to be defined in the default way, and I don't want to upset that expectation.
User Role Editor is a very powerful tool, one that gives users the ability to make very bad security decisions. I'm also unsure how it interoperates with Multisite. It's not a viable option for the Commons.
I see two possible ways forward:
1. You change your editorial workflow so that this user could be reclassified as an Author
2. I add the upload_files capability to the Contributor role on your site only
If we go with option 2, could you please confirm the specific site where you'd like this done?
Updated by Raffi Khatchadourian 2 months ago
Thanks, Boone. As I would not be comfortable with the contributor publishing an article on their own (which, AFAIK, is what an "author" can do), I think option 2 would be better. It's my portfolio site, khatchad.commons.gc.cuny.edu. Thanks!