wip
This commit is contained in:
1 parent
a8c733b840
commit
8618738d3a
2 files changed
+13
-1
No files matched your search
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user