mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Fix Laravel docs refs
This commit is contained in:
@@ -840,7 +840,7 @@ The current record (if it exists yet) is accessible in `$this->record`, and the
|
||||
|
||||
## Authorization
|
||||
|
||||
By default, only the user who started the import may access the failure CSV file that gets generated if part of an import fails. If you'd like to customize the authorization logic, you may create an `ImportPolicy` class, and [register it in your `AuthServiceProvider`](https://laravel.com/docs/10.x/authorization#registering-policies):
|
||||
By default, only the user who started the import may access the failure CSV file that gets generated if part of an import fails. If you'd like to customize the authorization logic, you may create an `ImportPolicy` class, and [register it in your `AuthServiceProvider`](https://laravel.com/docs/authorization#registering-policies):
|
||||
|
||||
```php
|
||||
use App\Policies\ImportPolicy;
|
||||
|
||||
@@ -690,7 +690,7 @@ public function getJobBatchName(): ?string
|
||||
|
||||
## Authorization
|
||||
|
||||
By default, only the user who started the export may download files that get generated. If you'd like to customize the authorization logic, you may create an `ExportPolicy` class, and [register it in your `AuthServiceProvider`](https://laravel.com/docs/10.x/authorization#registering-policies):
|
||||
By default, only the user who started the export may download files that get generated. If you'd like to customize the authorization logic, you may create an `ExportPolicy` class, and [register it in your `AuthServiceProvider`](https://laravel.com/docs/authorization#registering-policies):
|
||||
|
||||
```php
|
||||
use App\Policies\ExportPolicy;
|
||||
|
||||
Reference in New Issue
Block a user