code: def filter_objects(self, objects, perm=None):
          
          if perm is None:
              perm = build_permission_name(self.model_class, 'view')
          return filter(lambda o: self.user.has_perm(perm, obj=o), objects)
docs: Return only objects with specified permission in objects list. If perm not specified, 'view' perm will be used.