This commit is contained in:
salam committed 2025-11-19 08:08:31 +01:00
1 parent a8c733b840
commit 8618738d3a
2 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ class AppServiceProvider extends ServiceProvider
// Commands\SeederCommand::prohibit($this->app->isProduction());
// Commands\SuperAdminCommand::prohibit($this->app->isProduction());
// or prohibit the above commands all at once
FilamentShield::prohibitDestructiveCommands($this->app->isProduction());
// FilamentShield::prohibitDestructiveCommands($this->app->isProduction());
FilamentColor::register([
'danger' => Color::Red,
@@ -34,5 +34,17 @@ class RolesAndPermissionsSeeder extends Seeder
$user->assignRole('super_admin');
$user->assignRole('konto_switch');
$user = User::factory()->create([
'konto_id' => '1',
'gender' => 'Frau',
'name' => 'Elisabeth Mair am Tinkhof',
'email' => 'office@vogl-fernheim.eu',
'password' => Hash::make('elisabeth'),
'agb_akzeptiert' => true,
'app_verified_at' => now(),
'email_verified_at' => now(),
]);
$user->assignRole('gutachter');
$user->assignRole('admin');
}
}