Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete assignments and evaluations when an evaluator is deleted #342

Open
6 tasks
Tracked by #112
stepchud opened this issue Jan 2, 2025 · 0 comments
Open
6 tasks
Tracked by #112

Delete assignments and evaluations when an evaluator is deleted #342

stepchud opened this issue Jan 2, 2025 · 0 comments

Comments

@stepchud
Copy link
Contributor

stepchud commented Jan 2, 2025

What/Why

When an Evaluator is removed from a Challenge phase, we need to remove the other associations if they exist.
Currently the EvaluatorManagementService is only deleting the ChallengePhaseEvaluator, however it should also delete any EvaluatorSubmissionAssignment and Evaluation records associated with that user, if any exist.
NOTE: there is already a modal that warns the user this will happen, but the backend is not implemented.

Acceptance Criteria

  1. Create an evaluator user on a challenge phase
  2. Assign them to a submission
  3. Complete an evaluation from the user
  4. Delete the evaluator from the challenge phase
  • The EvaluatorSubmissionAssignment should be deleted from the DB.
  • The Evaluation should be deleted from the DB.

Disregard the following if this work does not include any UI changes

  • WAVE screenshot
  • Automated a11y tests (axe-rspec specs)
  • Keyboard accessibility (tab navigation, form interactions)
  • Responsiveness at desktop and mobile

Out of Scope

@stepchud stepchud mentioned this issue Jan 2, 2025
42 tasks
@r-bartlett-gsa r-bartlett-gsa added this to the Sprint 01/14/25 milestone Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants