OK,… sorry,…
The following code had disappeared from functions.php after an update.
add_filter( ‘fep_current_user_can’, function( $can, $cap, $id ){
if ( ‘add_announcement’ !== $cap ) {
return $can;
}
if ( array_intersect( wp_get_current_user()->roles, [ ‘administrator’, ‘vorstand’, ‘moderator’ ] ) ) {
return true;
}
return false;
}, 10, 3);