Activity logs can be seen by all roles
I just implemented filament logger by z3dox and it seems that the logs can be seen by all roles, how can i make it only viewable by Super Admins? Im using filament shield for the roles. Im also using Acitvity logger by Dennis Koch
7 Replies
https://github.com/Z3d0X/filament-logger?tab=readme-ov-file#authorization
it's in the documentation
i tried it but it doesn't work
i have generated the policy
If you would show the code...
this is my code
Did you put like below in AppServiceProvider (assuming you are on L-11)?
Solution
should i put it like this?
thanks its working