ucsb-cs156-s21 / proj-ucsb-cs-las

https://proj-ucsb-cs-las.herokuapp.com/
MIT License
2 stars 3 forks source link

Add ability to edit an existing tutor message. #313

Open m-cabello opened 3 years ago

m-cabello commented 3 years ago

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: