This can be achieved by adding the code below to the end of your theme’s functions.php file.

function add_grav_forms(){
$role = get_role(‘editor’);
$role->add_cap(‘gform_full_access’);
}
add_action(‘admin_init’,’add_grav_forms’);

Save and refresh, making sure that the ending ?> appears after the code you have inserted.