Use Filament Panel without authenticated user

Is there a technique for setting up a filament panel so that it can be accessed by guest to the website? i.e. you can browse a Github project without being logged in but the actions are all disabled
6 Replies
bwurtz999
bwurtz99913mo ago
On your User model, you need to have public function canAccessPanel(Panel $panel): bool defined in production you could just return true and then use policies to control who can view/modify
Cole Shirley
Cole ShirleyOP13mo ago
I'm talking about someone who isn't logged in at all
Cole Shirley
Cole ShirleyOP13mo ago
Nice! thanks
bwurtz999
bwurtz99913mo ago
You're welcome looks like you can control it for a specific resource
Want results from more Discord servers?
Add your server