Remove permission check for incoming customer vehicle search #374
This commit is contained in:
parent
a738aac7e7
commit
cdbf817db8
1 changed files with 3 additions and 0 deletions
|
|
@ -181,12 +181,15 @@ class CustomerController extends Controller
|
||||||
|
|
||||||
public function getCustomerVehicles(Request $req, CustomerHandlerInterface $cust_handler)
|
public function getCustomerVehicles(Request $req, CustomerHandlerInterface $cust_handler)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
// TODO: fix
|
||||||
if ((!$this->isGranted('jo_onestep.form')) ||
|
if ((!$this->isGranted('jo_onestep.form')) ||
|
||||||
(!$this->isGranted('jo_walkin.form')) ||
|
(!$this->isGranted('jo_walkin.form')) ||
|
||||||
(!$this->isGranted('jo_in.list'))) {
|
(!$this->isGranted('jo_in.list'))) {
|
||||||
$exception = $this->createAccessDeniedException('No access.');
|
$exception = $this->createAccessDeniedException('No access.');
|
||||||
throw $exception;
|
throw $exception;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
$results = $cust_handler->getCustomerVehicles($req);
|
$results = $cust_handler->getCustomerVehicles($req);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue