Expected behavior
When i'm an administrator (ie: staff) i want to be able to do a GET /participations and having only my participations
Current behavior
By default all the participations are returned, and no filter are available.
Potential solution
Adding a new Django filter user to filter participations by user
Step to reproduce (if it's a bug)
- Create 2 reservation on two differents admin user
- Do a call on
GET /participations
- Try to play with filters available to find only your reservations
Expected behavior
When i'm an administrator (ie: staff) i want to be able to do a
GET /participationsand having only my participationsCurrent behavior
By default all the participations are returned, and no filter are available.
Potential solution
Adding a new Django filter
userto filter participations by userStep to reproduce (if it's a bug)
GET /participations