F
Filament8mo ago
Sydd

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
pechtelt
pechtelt8mo ago
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.
Sydd
SyddOP8mo ago
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 ?
LeandroFerreira
LeandroFerreira8mo ago
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.
janibek
janibek3w ago
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
toeknee
toeknee3w ago
You would just setup a laravel policy for that model.
janibek
janibek3w ago
Thank you
Want results from more Discord servers?
Add your server