Getting 403 error

As the title said itself, I'm getting 403 in non-local environment. I already added canAccessFilament() in my user model, but I slightly modify it so that it can accommodate filament shield.
public function canAccessFilament(): bool
    {
        return $this->hasAnyRole($this->roles);
    }

What went wrong?
Screenshot_2023-03-05_175413.png
Was this page helpful?