{"record":{"id":"3ff4898abbbf4f69","repo":"filamentphp/filament","slug":"no-function-was-passed-to-authorizeindividualreco","errorCode":null,"errorMessage":"No function was passed to [authorizeIndividualRecords()].","messagePattern":"No function was passed to \\[authorizeIndividualRecords\\(\\)\\]\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/actions/src/Concerns/CanBeAuthorized.php","lineNumber":265,"sourceCode":"    public function authorizeIndividualRecords(bool | string | Closure | null $callback = true): static\n    {\n        $this->authorizeIndividualRecords = $callback;\n\n        return $this;\n    }\n\n    public function getIndividualRecordAuthorizationResponse(Model $record): Response\n    {\n        if (is_string($this->authorizeIndividualRecords)) {\n            return Gate::inspect($this->authorizeIndividualRecords, Arr::wrap($record));\n        }\n\n        $resolver = ($this->authorizeIndividualRecords instanceof Closure)\n            ? $this->authorizeIndividualRecords\n            : $this->getHasActionsLivewire()->getDefaultActionIndividualRecordAuthorizationResponseResolver($this);\n\n        if (! $resolver) {\n            throw new LogicException('No function was passed to [authorizeIndividualRecords()].');\n        }\n\n        $response = $resolver($record);\n\n        if ($response instanceof Response) {\n            return $response;\n        }\n\n        return $response ? Response::allow() : Response::deny();\n    }\n\n    public function shouldAuthorizeIndividualRecords(): bool\n    {\n        return filled($this->authorizeIndividualRecords) && ($this->authorizeIndividualRecords !== false);\n    }\n\n    public function hasAuthorization(): bool\n    {","sourceCodeStart":247,"sourceCodeEnd":283,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/actions/src/Concerns/CanBeAuthorized.php#L247-L283","documentation":"Error \"No function was passed to [authorizeIndividualRecords()].\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/actions/src/Concerns/CanBeAuthorized.php:265 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"53483fa9340e4ec637985fe454ebb58afb92ea24","analyzedAt":"2026-08-17T02:06:23.049Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}