warn('Filament Shield dashboard user is not enabled in the config.'); return; } // Создаем роли FilamentShield::createRole( name: config('filament-shield.dashboard_user.name', 'dashboard_user') ); FilamentShield::createRole( name: config('', 'editor') ); $this->info('Filament Shield roles have been initialized successfully.'); } }