Skip to content

Authorization ​

Sanchaya ships with SanchayaFilePolicy, which permits authenticated users by default. Register a restrictive policy for production access control.

Custom Policy

The service provider calls Gate::policy() during boot - but only if you haven't already registered one.

php
// config/filament-sanchaya.php
'policy' => \App\Policies\MyFilePolicy::class,

Released under the MIT License.