add this to your theme’s functions.php
:
// add editor the privilege to edit theme
// get the the role object
$role_object = get_role( 'editor' );
// add $cap capability to this role object
$role_object->add_cap( 'edit_theme_options' );
Update (suggested in comments):
You probably shouldn’t do this on every request, AFAIK this causes a db
write. Better onadmin_init
and only if!$role_object->has_cap('edit_theme_options')