this is work just in case the name of role is the same with panel name ```php public function canAccessPanel(Panel $panel): bool { $userRole = $this->roles()->first()->name; $currentPanel = filament()->getCurrentPanel()->getId(); if ($currentPanel === $userRole)) { return true; } return false; } ```