diff --git a/src/Controller/CustomerController.php b/src/Controller/CustomerController.php index 9b62df8c..f7ae1593 100644 --- a/src/Controller/CustomerController.php +++ b/src/Controller/CustomerController.php @@ -182,7 +182,8 @@ class CustomerController extends Controller public function getCustomerVehicles(Request $req, CustomerHandlerInterface $cust_handler) { if ((!$this->isGranted('jo_onestep.form')) || - (!$this->isGranted('jo_walkin.form'))) { + (!$this->isGranted('jo_walkin.form')) || + (!$this->isGranted('jo_in.list')) { $exception = $this->createAccessDeniedException('No access.'); throw $exception; }