SubmissionContentService

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
open override fun close()
Link copied to clipboard
suspend fun gradingDetail(request: AuthorizedCourseRequest, exerciseId: Long, submissionId: Long): SubmissionRecord?
Link copied to clipboard
Link copied to clipboard
fun invalidateGradingSubmissions(courseId: Long, exerciseId: Long)
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