src/Controllers/ChildCrudController.php
protected function authorizeCreate(Request $request)
    {
        $this->authorizeCrudRequest(Action::CREATE, null, $this->getParent($request));
    }
protected function authorizeCreate(Request $request)
    {
        $this->authorizeCrudRequest(Action::CREATE, null, $this->getParent($request));
    }
Checks if user is authorized to create an entity.
@param Request $request