Logger plugin only for super_admin
Please anybody know how to set config logger plugin availably onyl for usres with role super-admin ?
6 Replies
Maybe you can check this: https://log-viewer.opcodes.io/docs/3.x
Log Viewer
Introduction - Log Viewer Documentation
Log Viewer provides a user interface to easily read, search, and manage your Laravel logs. It's free and open-source with tons of features.
seems good, but at this moment (dont have time) need exactly for filament as plugin, do you know how to disable acces to any path / plugins for other users ?
check the docs: https://filamentphp.com/plugins/z3d0x-logger#authorization
ask in the #z3d0x-logger channel
Filament
Logger by ZedoX - Filament
Extensible activity logger for filament that works out-of-the-box.
hi, this is solved ? guys. Logger showing all roles, i want to show only super_admin but not working, i this
->resources([
config('filament-logger.activity_resource')
]);
this is may not. Any solution thanks
You would just setup a laravel policy for that model.
Thank you