code: def get_queryset(self, request):
          
          if not request.user.has_perm('zinnia.can_view_all'):
              queryset = self.model.objects.filter(authors__pk=request.user.pk)
          else:
              queryset = super(EntryAdmin, self).get_queryset(request)
          return queryset.prefetch_related('categories', 'authors', 'sites')
docs: Make special filtering by user's permissions.