          """
          raise NotImplementedError(".filter_queryset() must be overridden.")
  
  
  class DjangoFilterBackend(BaseFilterBackend):
      """
      A filter backend that uses django-filter.
      """
 
</s> remove from rest_framework.compat import django_filters, six
 </s> add from rest_framework.compat import django_filters, six, guardian </s> remove         user = request.user
        model_name = self._get_names(view)
 </s> add  </s> remove             model_name = self._get_names(view)
            view.queryset = guardian.shortcuts.get_objects_for_user(user, 'read_' + model_name, queryset)  #TODO: move to filter
 </s> add             view.queryset = ObjectPermissionReaderFilter().filter_queryset(request, queryset, view)
class ObjectPermissionReaderFilter(BaseFilterBackend):
    """
    A filter backend that limits results to those where the requesting user
    has read object level permissions.
    """
    def __init__(self):
        assert guardian, 'Using ObjectPermissionReaderFilter, but django-guardian is not installed'

    def filter_queryset(self, request, queryset, view):
        user = request.user
        model_cls = queryset.model
        model_name = model_cls._meta.module_name
        permission = 'read_' + model_name
        return guardian.shortcuts.get_objects_for_user(user, permission, queryset)


          """
          raise NotImplementedError(".filter_queryset() must be overridden.")
  
  
class ObjectPermissionReaderFilter(BaseFilterBackend):
    """
    A filter backend that limits results to those where the requesting user
    has read object level permissions.
    """
    def __init__(self):
        assert guardian, 'Using ObjectPermissionReaderFilter, but django-guardian is not installed'

    def filter_queryset(self, request, queryset, view):
        user = request.user
        model_cls = queryset.model
        model_name = model_cls._meta.module_name
        permission = 'read_' + model_name
        return guardian.shortcuts.get_objects_for_user(user, permission, queryset)


  class DjangoFilterBackend(BaseFilterBackend):
      """
      A filter backend that uses django-filter.
      """
keep keep keep add keep keep keep keep
 switch to a dedicated filter for read list object permissions 
rest_framework/filters.py