Submission Content Service
Loads submission metadata, previews, and archives behind current authorization checks.
Staff requests verify the course exercise before reading caches. Student requests also verify submitter ownership. Metadata is scoped by token, while file content uses a bounded shared cache.
Functions
Link copied to clipboard
suspend fun gradingDetail(request: AuthorizedCourseRequest, exerciseId: Long, submissionId: Long): SubmissionRecord?
Link copied to clipboard
suspend fun gradingSubmissions(request: AuthorizedCourseRequest, exerciseId: Long): GradingSubmissionSnapshot?
Link copied to clipboard
Link copied to clipboard
suspend fun staffArchive(request: AuthorizedCourseRequest, exerciseId: Long, submissionId: Long): SubmissionArchiveAccess
Link copied to clipboard
suspend fun staffContent(request: AuthorizedCourseRequest, exerciseId: Long, submissionId: Long): SubmissionContentAccess
Link copied to clipboard
suspend fun studentContent(request: AuthorizedCourseRequest, submissionId: Long): SubmissionContentAccess