Skip to content

[Feature:TAGrading] Limited Access Graders view#12771

Merged
bmcutler merged 31 commits into
mainfrom
limited-access-grader-page-view
Jun 19, 2026
Merged

[Feature:TAGrading] Limited Access Graders view#12771
bmcutler merged 31 commits into
mainfrom
limited-access-grader-page-view

Conversation

@Rkoester47

@Rkoester47 Rkoester47 commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Why is this Change Important & Necessary?

Currently, Limited Access Graders (mentors) can access "upload.pdf" in the submissions directory in the Files tab of TA grading. This should be disabled if the mentors do not have reason to see the full, raw uploaded pdf for a gradeable.

What is the New Behavior?

Now, if blind grading for limited Access graders is enabled OR if specific PDF pages have been assigned to any questions, limited access graders can no longer see upload.pdf in the submissions directory of the Files tab when grading.

What steps should a reviewer take to reproduce or test the bug or new feature?

Have two browser windows for different user logins - 'instructor' and 'grader'
As instructor:

  1. Upload a pdf for a student in "grader"'s section in Sample > Bulk Upload Scanned Exam
  2. Click "open to TAs" on Bulk Upload Scanned Exam
  3. Click on Edit Gradable for Bulk Upload Scanned Exam
  4. Toggle on/off Rubric > specific problem/page and also Grader Assignment > limited access grader blind grading

As grader:

  1. Grade student's submission in Bulk Upload Scanned Exam
  2. Open Files in a grading panel
  3. Make sure that when problem/page OR blind grading is enabled

Automated Testing & Documentation

Other information

This is not a breaking change.

Implementation is not finished, but upload.pdf is hidden from limited access graders if blind grading is on, or questions are assigned to pdf pages.
@github-project-automation github-project-automation Bot moved this to Seeking Reviewer in Submitty Development Apr 10, 2026
@Rkoester47 Rkoester47 changed the title [Feature:TAGrading] Hides upload.pdf from mentors [Feature:TAGrading] Limited Access Graders view Apr 10, 2026
@automateprojectmangement automateprojectmangement Bot moved this from Seeking Reviewer to Work in Progress in Submitty Development Apr 10, 2026
@codecov

codecov Bot commented Apr 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 21.47%. Comparing base (d0682c2) to head (160151f).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main   #12771      +/-   ##
============================================
- Coverage     21.48%   21.47%   -0.02%     
- Complexity     9842     9854      +12     
============================================
  Files           268      268              
  Lines         36851    36872      +21     
  Branches        495      495              
============================================
  Hits           7919     7919              
- Misses        28441    28462      +21     
  Partials        491      491              
Flag Coverage Δ
autograder 21.32% <ø> (ø)
js 2.01% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.50% <0.00%> (-0.02%) ⬇️
python_submitty_utils 80.08% <ø> (ø)
submitty_daemon_jobs 91.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Rkoester47
Rkoester47 marked this pull request as ready for review April 14, 2026 18:11
@automateprojectmangement automateprojectmangement Bot moved this from Work in Progress to Seeking Reviewer in Submitty Development Apr 14, 2026
@Christian2147 Christian2147 self-assigned this Apr 14, 2026
@Rkoester47
Rkoester47 marked this pull request as draft April 15, 2026 22:30
@automateprojectmangement automateprojectmangement Bot moved this from Seeking Reviewer to Work in Progress in Submitty Development Apr 15, 2026
@Rkoester47
Rkoester47 marked this pull request as ready for review April 16, 2026 16:42
@automateprojectmangement automateprojectmangement Bot moved this from Work in Progress to Seeking Reviewer in Submitty Development Apr 16, 2026
@Farhanxikram
Farhanxikram requested review from williamschen23 and removed request for williamschen23 April 17, 2026 15:47
@bmcutler bmcutler assigned roye2 and unassigned Christian2147 Jun 5, 2026
@bmcutler

bmcutler commented Jun 5, 2026

Copy link
Copy Markdown
Member

@roye2 or @Rkoester47 please resolve conflicts & then return to 'ready to merge'

@bmcutler bmcutler moved this from Awaiting Maintainer Review to Work in Progress in Submitty Development Jun 5, 2026
@roye2
roye2 self-requested a review June 5, 2026 20:42
@automateprojectmangement automateprojectmangement Bot moved this from Work in Progress to In Review in Submitty Development Jun 5, 2026
roye2
roye2 previously requested changes Jun 5, 2026

@roye2 roye2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bmcutler @Rkoester47
In the bulk_upload_spec.js, the new changes added appear to be failing. I would assume this is a bug with the changes to the spec added in this PR. I would be happy for someone more familiar with cypress to inform me about what is going on. In the meantime, I did fix the merge conflicts and re-reviewed the functionality, which was working as expected as far as I could tell!

@github-project-automation github-project-automation Bot moved this from In Review to Work in Progress in Submitty Development Jun 5, 2026

@mattLif mattLif left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested functionality as Limited Access Grader and TA to verify changes and all worked well. Code looks good too, but there is one failing spec (bulkgradeable) that I think should be addressed. Once that passes should be good.

@roye2
roye2 dismissed their stale review June 11, 2026 13:19

its me

@mattLif mattLif left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code and functionality looks good. Only failing tests are flaky/failing on main.

@github-project-automation github-project-automation Bot moved this from Work in Progress to Awaiting Maintainer Review in Submitty Development Jun 11, 2026
@bmcutler
bmcutler merged commit 2bb39b3 into main Jun 19, 2026
23 of 26 checks passed
@bmcutler
bmcutler deleted the limited-access-grader-page-view branch June 19, 2026 06:57
@github-project-automation github-project-automation Bot moved this from Awaiting Maintainer Review to Done in Submitty Development Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants