Closed tenroaji closed 3 months ago
Hi, according to new method of Registering Policies in Laravel 11
Edit boot() method of AppServiceProvider like this way:
public function boot(): void { Gate::policy(Activity::class, ActivityPolicy::class); }
It works for me.
public function boot(): void { Gate::policy(Activity::class, ActivityPolicy::class); }
nice, thanks its work for me too
I use laravel 11 and i use shield for permission, i success generate ActivityPolicy but not effect.
this AuthServiceProvider
this regis AuthServiceProvider
and this ActivityPolicy
i try to check Users menu and effect but after try Activity menu not effect![image](https://github.com/Z3d0X/filament-logger/assets/43433503/ead43089-87da-4c2e-916f-ec7db6e28246)