chore: expand platform operator seed capabilities

This commit is contained in:
Ahmed Darrazi 2026-02-27 00:39:43 +01:00
parent 5c5be36bab
commit 0e879be2cd

View File

@ -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,
],