This commit is contained in:
Ross
2021-08-19 10:09:08 +01:00
parent e76ed0209e
commit 80b690d6de
3 changed files with 20 additions and 2 deletions
+1 -1
View File
@@ -480,7 +480,7 @@ def rapid_scrap(request, pk):
if (
not request.user.groups.filter(name="rapid_checker").exists()
and request.user not in question.author.all()
and request.user not in rapid.author.all()
):
raise PermissionDenied()