Don’t allow other users to edit my trip information
Design Figma →
As a logged user in a "Caroster plus" configured event, if I create a trip (travel) I am the only one who can delete it or change its informations.
Validation
-
Create a trip with my account
-
Create a trip with another account
-
Connect with the first account used
-
See that I can only edit my trip
Tasks
-
On travel creation, link it to the authenticated user -
Set a policy in Strapi. Used if a authenticated user is linked to the travel/trip. -
Adapt frontend -
Hide the edit buttons if I am not the trip owner -
Update gql query
-
-
Update Data processing registry -
The trip is linked to an identified person
-
Points: 5
Edited by Simon Mulquin