Use specific rights for Repositories
We should use rights on repositories instead of rights on their possibly related corpus.
I.e. avoid this behavior in the backend:
return Repository.objects.filter(
Q(corpora__isnull=True)
| Q(corpora__in=Corpus.objects.readable(self.request.user))
).distinct()
Edited by Valentin Rigal