user()->super_admin == 1; } public static function form(Schema $schema): Schema { return UserForm::configure($schema); } public static function table(Table $table): Table { return UsersTable::configure($table); } public static function getRelations(): array { return [ // ]; } public static function getPages(): array { return [ 'index' => ListUsers::route('/'), ]; } public static function getNavigationBadge(): ?string { return parent::getEloquentQuery()->count(); } }