In scholarx platform, admins can add questions for mentors after creating the program. User interfaces for add and edit questions are already created in the deployed version.
In the current version, admins can create/update questions in any program state. It may cause some confusions in the program.
So I’m assigned to the task “Preventing Admins from editing questions after mentor application phase”. So I’ll use this thread for updating my progress.
As I found, these are the tasks we have to do in order to complete this:
Updating the backend to validate the state when updating/creating Questions
Updating the frontend to make the questions uneditable in the later stages. And we have to show a message saying that the admins can’t update questions in current state.
Could you clarify these 2 statements before i start work:
After completing this issue, Admins can’t create or update questions after CREATED state
After completing this issue, Admins can only create or update questions when the program is in CREATED state