GravityView Capabilities
GravityView Capabilities
Version 1.15 and higher
GravityView allows you to control user capabilities. We recommend controlling access modify access using the Members plugin.
Full Access
gravityview_full_access
- Controls whether user has access to all GravityView capabilities. Enabling this capability is the same as enabling all of the others.
Settings
gravityview_view_settings
- Controls whether plugin settings can be viewed.gravityview_edit_settings
- Controls whether plugin settings can be modified.gravityview_uninstall
- Controls whether GravityView content can be deleted when the plugin is deleted.gravityview_getting_started
- Controls whether user can read the GravityView Getting Started page.
Entry Capabilities
gravityview_moderate_entries
- Controls whether entries are able to be approved or rejected. If disabled, hides the Approval column in Entries screen and the "Approve" and "Disapprove" Bulk Edit actions. Required to moderate entries from the front-end.gravityview_edit_others_entries
- Controls whether user is able to edit others' entries in the GravityView Edit Entry screen.gravityview_delete_others_entries
- Controls whether user is able to delete others' entries in the GravityView Edit Entry screen.gravityview_edit_entries
- Controls whether user is able to use the "Change Entry Creator" functionality or see Edit Entry in the Admin Toolbar. Not Yet Implemented: Control whether user is able to edit entries.gravityview_delete_entries
- Controls whether user can delete entries they own. (Not Yet Implemented)gravityview_delete_entry
- Controls whether user can delete a specific entry they own. (Not Yet Implemented)gravityview_edit_entry
- Controls whether user is able to edit a specific entry. (Not Yet Implemented)gravityview_edit_form_entries
- Controls whether user is able to edit entries for a specific form. (Not Yet Implemented)gravityview_view_entries
- Controls whether any entries can be read. (Not Yet Implemented)gravityview_view_others_entries
- Controls whether entries owned by other users can be read. (Not Yet Implemented)
Entry Notes Capabilities
Added in GravityView 1.17
gravityview_add_entry_notes
- Controls whether entry notes can be added from the frontend.gravityview_view_entry_notes
- Controls whether entry notes can be viewed from the frontend.gravityview_delete_entry_notes
- Controls whether entry notes can be deleted from the frontend.gravityview_email_entry_notes
- Controls whether user can also send an email (to an email address connected to an entry) while adding a note.
View Capabilities
edit_gravityviews
- Controls whether Views can be edited. If disabled, the "Views" menu item is not visible.edit_others_gravityviews
- Controls whether Views owned by other users can be edited.publish_gravityviews
- Controls whether Views can be published.read_private_gravityviews
- Controls whether private Views can be read.delete_gravityviews
- Controls whether Views of this post type can be deleted.delete_private_gravityviews
- Controls whether private Views can be deleted.delete_published_gravityviews
- Controls whether published Views can be deleted.delete_others_gravityviews
- Controls whether Views owned by other users can be can be deleted.edit_private_gravityviews
- Controls whether private Views can be edited.edit_published_gravityviews
- Controls whether published Views can be edited.copy_gravityviews
- Controls whether "Clone View" or "New Draft" capabilities are visible.
Support Capabilities
gravityview_contact_support
- Controls whether user is able to contact GravityView Support via the Support Portgravityview_support_port
- Controls whether the GravityView Support Port is visible.
Per-View Capabilities
These capabilities are based on permissions for a specific View. To modify access from the Dashboard, you can use a plugin like Members. Here's a code example for modifying editing capabilities by View ID.
edit_gravityview
- Controls whether a specific View can be edited.read_gravityview
- Controls whether a specific View can be read.delete_gravityview
- Controls whether a specific View can be deleted.
Roles
When GravityView is activated, the following capabilities are automatically added to each role:
Administrator
Summary: Full access over settings, able to contact support, and everything else
gravityview_full_access
gravityview_view_settings
gravityview_edit_settings
gravityview_uninstall
gravityview_contact_support
- … as well as the capabilities below
Editor
Summary: Edit, publish, and delete everyone's stuff
edit_others_gravityviews
read_private_gravityviews
delete_private_gravityviews
delete_others_gravityviews
edit_private_gravityviews
publish_gravityviews
delete_published_gravityviews
edit_published_gravityviews
gravityview_edit_others_entries
gravityview_moderate_entries
gravityview_delete_others_entries
gravityview_add_entry_notes
gravityview_view_entry_notes
gravityview_delete_entry_notes
gravityview_email_entry_notes
- … as well as the capabilities below
Author
Summary: Edit, publish and delete own stuff
gravityview_edit_entries
gravityview_edit_entry
gravityview_edit_form_entries
gravityview_delete_entries
gravityview_delete_entry
- … as well as the capabilities below
Contributor
Summary: Edit and delete drafts but not publish
edit_gravityviews
delete_gravityviews
gravityview_support_port
- … as well as the capabilities below
Subscriber
Summary: Read only
gravityview_view_entries
gravityview_view_others_entries
read
- If your Views are not showing up for a Subscriber, make sure you have this generic WordPress capability enabled