If a user has access to several organizations and those ones are implied in the same CourseProductRelation, when the user asks to download an archive of all contracts (from the frontend, it is on an organization view detail), it gets all contracts for all organization it has access.
Expected behavior/code
Frontend should be able to use filter by organization_id on the endpoint to generate contracts archive.
Bug Report
Problematic behavior
If a user has access to several organizations and those ones are implied in the same
CourseProductRelation
, when the user asks to download an archive of all contracts (from the frontend, it is on an organization view detail), it gets all contracts for all organization it has access.Expected behavior/code
Frontend should be able to use filter by
organization_id
on the endpoint to generate contracts archive.