darkdev0821
darkdev0821
FFilament
Created by BKF Dev on 8/5/2023 in #❓┊help
Access to panel
thanks
28 replies
FFilament
Created by BKF Dev on 8/5/2023 in #❓┊help
Access to panel
so probably the Middleware is the best and the easiest to do
28 replies
FFilament
Created by BKF Dev on 8/5/2023 in #❓┊help
Access to panel
this won't really help on multiple pannels, but I saw in the ServiceProvider that it has a default method
28 replies
FFilament
Created by BKF Dev on 8/5/2023 in #❓┊help
Access to panel
public function canAccessPanel(Panel $panel): bool { if ($panel->isDefault()) { return $this->is_admin; } else { return true; } } what about this? and have the admin(main one as default)? would it be a light check? rather than a middleware?
28 replies
FFilament
Created by BKF Dev on 8/5/2023 in #❓┊help
Access to panel
Curious about this too, different panels and different user role access would be great! 🙂
28 replies