src/Controllers/ChildCrudController.php
protected function authorizeIndex(Request $request)
    {
        $this->authorizeCrudRequest(Action::INDEX, null, $this->getParent($request));
    }
protected function authorizeIndex(Request $request)
    {
        $this->authorizeCrudRequest(Action::INDEX, null, $this->getParent($request));
    }
Checks if user is authorized to watch an index of the entities.
@param Request $request