Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutV committed May 24, 2024
1 parent 5055fca commit d4ebd1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/api/permissions/submission_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ def has_object_permission(self, request: Request, view: APIView, obj: Submission

return obj.group.students.filter(id=user.id).exists()


class SubmissionFeedbackPermission(SubmissionPermission):
def has_permission(self, request: Request, view: APIView) -> bool:
return True

def has_object_permission(self, request: Request, view: APIView, obj: Submission) -> bool:
return True

Expand Down

0 comments on commit d4ebd1c

Please sign in to comment.