NRGI / rgi-assessment-tool

MEAN build of RGI 2015 assessment tool
MIT License
5 stars 1 forks source link

Delete Assessment #547

Closed alexander-elgin closed 7 years ago

alexander-elgin commented 7 years ago
  1. [x] Implement the 'Delete Assessment' UI feature. NOTE that the assessment data should be deactivated (not deleted) to be able restore the assessment later. All related data e.g. user assessment, number of assessments assigned should be updated as well.
    1. Remove the assessment link from the assigned user accounts
      1. Supervisor
      2. Researcher
      3. Reviewer
    2. Set flag deleted (should be added to the model first)
    3. Submit the request
    4. Filter assessment by the flag deleted on the 'Assessment List' page
    5. In the top menu create groups based on non-deleted assessments only
    6. Select non-deleted assessment in the back end
    7. Check other features where assessment list is used
      1. Restrict creation of a new assessment on the 'Deploy Assessment' page
      2. Interviewee Assessments
      3. Export Raw Answer Data
      4. Linked assessments list on the 'Document Details ' page
      5. Linked assessments list on the 'Question Details ' page
  2. [x] Remove the assessment AF-pilot
alexander-elgin commented 7 years ago

To implement the feature the following items remain

  1. Select non-deleted assessment in the back end (see the 'Assessment Details' page)
  2. Restrict creation of a new assessment on the 'Deploy Assessment' page (CHECK REQUIRED)
  3. Export Raw Answer Data
  4. Unlink Assessment from
    • Users
    • Interviewee Assessments
    • Linked assessments list on the 'Document Details ' page
    • Linked assessments list on the 'Question Details ' page
alexander-elgin commented 7 years ago

https://github.com/NRGI/rgi-assessment-tool/pull/557