Examination: UG-only grade-submission sections (+ sync latest production)#1935
Merged
Conversation
Bring sections up to date with the latest production while keeping its section-aware / per-instructor grade-submission and B.Tech sectioning work. Reconcile examination grade submission: keep section-aware roster scoping and Summer CourseInstructor year handling, and adopt production's selected-role acadadmin detection and registration-based acadadmin course list.
Sections are a UG-only concept (compute_section returns a section only for B.Tech/B.Des). Gate all section handling on programme_type == UG in download_template, UploadGradesProfAPI (section param + per-section roster scoping) and PreviewGradesAPI, so PG/PhD grade submission ignores sections and grades the whole programme's registered students together.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the
sectionsbranch's latest work intoprod-test.Changes
compute_sectionreturns a section only for B.Tech/B.Des), so section handling is gated onprogramme_type == UGindownload_template,UploadGradesProfAPI(section param + per-section roster scoping) andPreviewGradesAPI. PG/PhD grade submission ignores sections and grades the whole programme's registered students together.prod/acad-react): acadadmin grade submission (selected-role gating), SummerCourseInstructoryear fix, registration-based acadadmin course list.Verified:
manage.py checkpasses.