role_id == 15) { return [2,3]; } else if ($user->role_id == 10) { return [4,5]; } else { return []; } } }