From 06d0e21b1d29bdcdb56eca5bc36889d00bb9c4dc Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Tue, 14 Apr 2020 02:48:55 +0000 Subject: [PATCH] Add access to tier 1 to customer vehicle search. #374 --- src/Controller/CustomerController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }