php public static function getEloquentQuery(): Builder { if (auth()->user()->hasRole('super_admin')) { return parent::getEloquentQuery(); } return parent::getEloquentQuery()->whereHas('users', function ($query) { $query->where('user_id', auth()->id()); }); }