Create Users Who Can Only See Gravity Forms Entries

Gravity Forms Entries

We have a PublishPress customer who also uses the plugin. They asked us if it was possible to create a user who can do nothing in WordPress, except for edit form entries in .

Yes, this is possible, and this tutorial will show you how.

You will need the PublishPress Capabilities plugin installed. We will create new user role called “Gravity Forms” and give them access to Gravity Forms entries. There's a more advanced version of this tutorial available for sites also using WooCommerce.


Step #1. Create a New User Role

First, we're going to copy the Subscriber role because it has very limited permissions. Click here for more on creating new user roles.

  • Go to the “Capabilities” link in your WordPress admin menu.
  • Choose “Subscriber” in the dropdown in the top-left corner.
  • Enter “Gravity Forms” into the “Copy Subscriber Role” box.
  • Click “Copy”.
Gravity Forms 1
Gravity Forms 1

Step #2. Add the Gravity Forms Permission

We're now going to add a new permission to give this role access to Gravity Forms entries.

  • Find the “Add Capability” box.
  • Type “gravityforms_view_entries”.
  • Click “Add to role”.
Gravity Forms new capability
2 1
  • Scroll down and make sure the box is checked for this permission:
Gravity Forms capabilities
3

Step #3. Create and Test the User

Our final step is to create a user for our new role:

  • Go to the “Users” area in your WordPress admin menu.
  • Create a new user in the “Gravity Forms” role.
Gravity Forms entries
4

Now it's time to test your new user. You can either login as the new user in different browser, or reply on a plugin such as User Switching.

When you login as your new user, this image shows what you will see. The user will have very limited access, but they will be able to view Gravity Forms entries:

Gravity Forms dashboard
5 1

Summary

It is possible to expand on this basic set of permissions. We used “gravityforms_view_entries” but the Gravity Forms documentation has more permissions you can give to these users.

For example, you can repeat Step #2 and add “gravityforms_export_entries”. This would allow user to export the entries. Or you could add “gravityforms_edit_entries” and that would allow them to edit the entries.

You might find other PublishPress guides useful including our introduction to bbPress roles and capabilities, plus tutorials on restricting user access in Beaver Builder and Elementor.


PublishPress works great with Gravity Forms

Join PublishPress today and you'll get powerful publishing and permissions plugins to improve your WordPress site.


Leave a Reply

Your email address will not be published. Required fields are marked *

Professional publishing plugins for WordPress! Get PublishPress

  • SUBSCRIBE TO OUR NEWSLETTER
  • SEARCH THIS SITE