admin add claim

This commit is contained in:
xiaomlove
2022-07-02 15:08:23 +08:00
parent 579351c0eb
commit 5191a1ba9a
48 changed files with 992 additions and 293 deletions

View File

@@ -105,7 +105,7 @@ class User extends Authenticatable implements FilamentUser, HasName
public function canAccessFilament(): bool
{
return $this->class >= self::CLASS_ADMINISTRATOR;
return $this->canAccessAdmin();
}
public function getFilamentName(): string