L'API dont vous êtes le héros is an interactive Java API that brings the adventure of "choose your own adventure" stories to life. Users can embark on unique journeys, make decisions at each step, and create dynamic narratives, all while experiencing the nostalgia of classic adventure books.
Implement a restriction that allows editors to modify only the stories they have created. This will prevent unauthorized changes to stories by other editors, ensuring better content control and integrity. 🔒
Objectives:
Update the story modification logic to include a check that verifies if the editor attempting to modify a story is the original creator. ✍️
Implement ownership tracking for each story to associate it with the editor who created it. 🏷️
Update the relevant service classes to enforce this ownership check during the modification process. 🛠️
Write unit tests to confirm that editors can successfully modify their own stories and receive appropriate error messages when attempting to modify stories created by others. 🧪
Quest:
Implement a restriction that allows editors to modify only the stories they have created. This will prevent unauthorized changes to stories by other editors, ensuring better content control and integrity. 🔒
Objectives:
The keeper of the repo 🏰