bezhanSalleh / filament-shield

The easiest and most intuitive way to add access management to your Filament Admin Resources, Pages & Widgets through `spatie/laravel-permission`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Im getting this Target class [App\Policies\RolePolicy] does not exist.

Sebastiangperez opened this issue · comments

commented

I followed the steps , i already have a laravel installation and a filament installation, previous to implement this.
Also im using another table for admin uses called Admins , and Admin model.
Can you help me ?

Did you set to true the register_role_policy in your config/filament-shield.php file?

@Sebastiangperez you need to first install shield and then enable the policy registration from the config.