Allow superuser to abort
This commit is contained in:
parent
1004563a53
commit
167afb6a73
1 changed files with 0 additions and 1 deletions
|
@ -237,7 +237,6 @@ def abort_submission(request, submission):
|
|||
# not request.user.has_perm('abort_any_submission')):
|
||||
# raise PermissionDenied()
|
||||
if (not request.user.is_authenticated
|
||||
or submission.was_rejudged
|
||||
or not request.user.has_perm('abort_any_submission')):
|
||||
raise PermissionDenied()
|
||||
submission.abort()
|
||||
|
|
Loading…
Reference in a new issue