Added filament

This commit is contained in:
Constantin Graf
2024-01-16 22:39:28 +01:00
parent 0e3e7b4c30
commit 34574eb31b
7 changed files with 2000 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Models;
use Filament\Panel;
use Illuminate\Database\Eloquent\Concerns\HasUuids;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
@@ -17,9 +18,9 @@ class User extends Authenticatable
use HasFactory;
use HasProfilePhoto;
use HasTeams;
use HasUuids;
use Notifiable;
use TwoFactorAuthenticatable;
use HasUuids;
/**
* The attributes that are mass assignable.
@@ -61,4 +62,10 @@ class User extends Authenticatable
protected $appends = [
'profile_photo_url',
];
public function canAccessPanel(Panel $panel): bool
{
// TODO: Implement canAccessPanel() method.
return false;
}
}