.
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user