Add Media on Rich Text Editor field not working for Contributors

I’m using the Advanced Post Creation Add-on in order to allow users with the Contributor role to submit new posts for review. Contributors need to be able to Add Media to the body of the blog post. I added PHP code to (1) add the Add Media button to the Rich Text Editor field on the Gravity Form and (2) allow Contributors to upload media.

The Add Media button now displays correctly on the Gravity Form (see attached screenshot) and I confirmed that a Contributor can login to the WordPress Dashboard and via the Dashboard, use the Media > Add New Media File button to upload media to the Media Library. This suggests that the PHP code is working. However, when a Contributor clicks the Add Media button on the Gravity form front-end and attempts to upload media, the following error message is returned: “Sorry, you are not allowed to attach files to this post.”

It may be worth mentioning that when I login as an Administrator or Author, the Add Media button on the Gravity Form front-end works, which points to a permissions issue. What additional steps do I need to follow in order for Add Media to work for Contributors on Gravity Forms?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.