Currently, we have implemented the following CRUD operations for tutor notes: POST(create tutor notes, but only for tutors), GET and DELETE.
Now we want to add the ability to edit an existing tutor note. If the currently logged-in user's email does not match the tutor's email that created the existing tutor note or an admin email, the request is rejected. Only the tutor that created the note and admins can change the message.
Acceptance Criteria
[ ] There exists an edit message button in the "Tutor Notes" page visible to admins, and the tutor that created that specific tutor note.
[ ] The page can access the database and CRUD endpoints.
Implementation Todos
Front end:
[ ] Must make a page for editing notes. See here or other pages for examples.
[ ] Must edit existing tutor notes form and tutor notes table to implement the edit operation . See here or other pages for examples.
User Story
Discussion
Currently, we have implemented the following CRUD operations for tutor notes: POST(create tutor notes, but only for tutors), GET and DELETE.
Now we want to add the ability to edit an existing tutor note. If the currently logged-in user's email does not match the tutor's email that created the existing tutor note or an admin email, the request is rejected. Only the tutor that created the note and admins can change the message.
Acceptance Criteria
Implementation Todos
Front end: