I currently have below, its showing that this template can only be accessed by the inspector role. I want to add multi role to this. What would be the best option.
if ( !current_user_can ('inspector')) {
get_template_part('error');
exit(0);
}