  get_queryset_list_view = GetQuerySetListView.as_view()
  empty_list_view = EmptyListView.as_view()
  
  
  def basic_auth_header(username, password):
      credentials = ('%s:%s' % (username, password))
 
</s> remove         if not request.user or (
           not request.user.is_authenticated and self.authenticated_users_only):
            return False

 </s> add 
ignored_get_queryset_list_view = IgnoredGetQuerySetListView.as_view()
  get_queryset_list_view = GetQuerySetListView.as_view()
  empty_list_view = EmptyListView.as_view()
ignored_get_queryset_list_view = IgnoredGetQuerySetListView.as_view()
  
  
  def basic_auth_header(username, password):
      credentials = ('%s:%s' % (username, password))
keep add keep keep keep keep
 Fix #8771 - Checking for authentication even if `_ignore_model_permissions = True` (#8772) 
tests/test_permissions.py