openfun / joanie

👛 A headless ERP for education to manage course enrollment/subscription, payment and certificates delivery.
MIT License
20 stars 2 forks source link

🚑(backend) fix openedx set enrollment mode choice logic #857

Closed jbpenrath closed 1 week ago

jbpenrath commented 1 week ago

Purpose

To choose the enrollment mode to use when enrolling a user on OpenEdX course run we currently check if a validated order relying on this enrollment exist. But to retrieve this order we don't filter order owned by the enrollment user so in case of credential product once one validated order exists, all other user enrolling to the related course run was enrolled with verified mode...

Then release a patch version