Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin need to be able to list only their participations #264

Open
RignonNoel opened this issue Oct 6, 2020 · 0 comments
Open

Admin need to be able to list only their participations #264

RignonNoel opened this issue Oct 6, 2020 · 0 comments

Comments

@RignonNoel
Copy link
Contributor

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)

  1. Create 2 reservation on two differents admin user
  2. Do a call on GET /participations
  3. Try to play with filters available to find only your reservations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant