diff --git a/database/seeders/PlatformUserSeeder.php b/database/seeders/PlatformUserSeeder.php index 4b9e10c..8d0d02d 100644 --- a/database/seeders/PlatformUserSeeder.php +++ b/database/seeders/PlatformUserSeeder.php @@ -5,6 +5,7 @@ use App\Models\PlatformUser; use App\Models\Tenant; use App\Models\Workspace; +use App\Support\Auth\PlatformCapabilities; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\Hash; @@ -31,8 +32,12 @@ public function run(): void 'name' => 'Platform Operator', 'password' => Hash::make('password'), 'capabilities' => [ - 'platform.access_system_panel', - 'platform.use_break_glass', + PlatformCapabilities::ACCESS_SYSTEM_PANEL, + PlatformCapabilities::USE_BREAK_GLASS, + PlatformCapabilities::OPS_VIEW, + PlatformCapabilities::RUNBOOKS_VIEW, + PlatformCapabilities::RUNBOOKS_RUN, + PlatformCapabilities::RUNBOOKS_FINDINGS_LIFECYCLE_BACKFILL, ], 'is_active' => true, ],