You can control it using the flamingo_map_meta_cap filter hook (see includes/capabilities.php). To see inbound messages, you need the flamingo_edit_inbound_message and flamingo_edit_inbound_messages capabilities. Map them to a standard capability that an editor role user has, such as edit_pages.
In another thread I have answered with a coding example.
Great, thank you!
I added this code to the functions.php and now it shows flamingo-messages to editors.
add_filter( 'flamingo_map_meta_cap', function( $meta_caps ) {
$meta_caps = array_merge( $meta_caps, array(
'flamingo_edit_inbound_message' => 'edit_pages',
'flamingo_edit_inbound_messages' => 'edit_pages',
) );
return $meta_caps;
} );
Is there also a code to show the flamingo-adressbook to editors?
For the Address Book menu page, allow the flamingo_edit_contact and flamingo_edit_contactscaps for editors.
Perfect, thank you so much!