How to connect with shield? #113
-
How do I connect this plugin with Filament Shield? I have generated the policy (shield) for the activity, but all roles can still access the menu and pages. |
Beta Was this translation helpful? Give feedback.
Answered by
kigathi-chege
Dec 6, 2024
Replies: 1 comment 1 reply
-
I found the solution. Put this in the
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kud0h
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kud0h
I found the solution. Put this in the
boot
method of yourAppServiceProvider
Gate::policy(Activity::class, ActivityPolicy::class);