Dear, If you want do it, please switch your site to use Jobmonster Child Theme, then add custom PHP code in file functions.php of Jobmonster Child theme.
if( !function_exists('jm_can_edit_job') ) :
function jm_can_edit_job($job_id = 0, $user_id = 0) {
if( empty( $job_id ) ) {
return false;
}
$job_status = get_post_status($job_id);
if('publish' === $job_status){
return false;
}
$user_id = empty( $user_id ) ? get_current_user_id() : $user_id;
if( empty($user_id) ) {
return false;
}
if($user_id == get_post_field( 'post_author', $job_id )){
return true;
}
// Check job with company
$company_id_job = jm_get_job_company($job_id);
$company_id_from_user = jm_get_employer_company($user_id);
if(!empty($company_id_job) && !empty($company_id_from_user)){
return $company_id_job == $company_id_from_user;
}
}
endif;
Best regards.