Hi, I see that Gravity Forms offers some core capabilities.
http://www.gravityhelp.com/documentation/role-management/
I'd like to tap into these without using the Members plugin, in part because I am using WPMU and Members does not affect roles globally in WPMU.
Basically, I want to allow all EDITORS to do all Gravity Forms-related capabilities.
Since all of my blogs are based off of a parent theme, can I simple add this to my theme's functions.php file?
$role = get_role( 'editor' );
$role->add_cap( 'gravityforms_create_form' );
$role->add_cap( 'gravityforms_delete_entries' );
$role->add_cap( 'gravityforms_delete_forms' );
$role->add_cap( 'gravityforms_edit_entries' );
$role->add_cap( 'gravityforms_edit_entry_notes' );
$role->add_cap( 'gravityforms_edit_forms' );
$role->add_cap( 'gravityforms_edit_settings' );
$role->add_cap( 'gravityforms_export_entries' );
$role->add_cap( 'gravityforms_feed' );
$role->add_cap( 'gravityforms_uninstall' );
$role->add_cap( 'gravityforms_view_entries' );
$role->add_cap( 'gravityforms_view_entry_notes' );
$role->add_cap( 'gravityforms_view_settings' );
and this will add these capabilities to the Editor role for any site using that theme?
I've tested this and it seems to work fine. However, I am just asking for a sanity check. Is this the right way to do this?