Error when rejecting a question as a HE user
Expected behaviour
Current behaviour
When selecting "do not accept" and reject an error message occurs. (see screenshot)
Steps to reproduce
- Login as HE
- Select question: https://hhmi.cloud68.co/question/94f30864-088b-4738-84bc-f88698ad803c
- on the selected question page, select "do not accept"
- Select "reject" on the pop-up window.
- Error message occurs "Problem rejecting the questions There was an error while rejecting this question. Please try again!"
When rejecting the same question as a ME, an error message did not occur and the question was rejected successfully.
Testing environment
- Username of the user who experienced the problem: Handling Editor (Tash)
- URL where the problem occured:https://hhmi.cloud68.co/
- Browser name and version:Chrome Version 118.0.5993.71
- User machine: PC
Error logs (if available)
this error in the terminal while trying to reject a question with a HE, seems to be a permissions issue.
Possible solution
- give HE permission to reject question
- Error message will no longer display
QA Steps
[To be completed by Coko]
Scheduling
[To be completed by Coko]
- Dependencies: [provide issue numbers]
- Development estimate: [provide in hours]