Resolve "Final CMB Fixes" #1229

Merged
korina.cordero merged 102 commits from 270-final-cmb-fixes into master 2020-04-03 02:54:29 +00:00
Showing only changes of commit dafe7e6b1c - Show all commits

View file

@ -181,7 +181,10 @@ class CustomerController extends Controller
public function getCustomerVehicles(Request $req, CustomerHandlerInterface $cust_handler)
{
if (!$this->isGranted('jo_in.list')) {
if ((!$this->isGranted('jo_onestep.form')) ||
(!$this->isGranted('jo_walkin.form')) ||
(!$this->isGranted('jo_onestep.edit')) ||
(!$this->isGranted('jo_walkin.edit'))) {
$exception = $this->createAccessDeniedException('No access.');
throw $exception;
}