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

Authorize enrollment creation/update by admin on closed course runs #962

Open
2 tasks done
jbpenrath opened this issue Nov 13, 2024 · 0 comments
Open
2 tasks done
Assignees
Labels

Comments

@jbpenrath
Copy link
Member

jbpenrath commented Nov 13, 2024

Feature Request

As a staff user, I would like to be able to set an enrollment for a given user even if related course run is closed for enrollment

Is your feature request related to a problem or unsupported use case? Please describe.

Currently, Enrollment creation/update is forbidden from the moment the course run is closed; On OpenEdX is it still possible to update an enrollment once the run is closed so it should be possible also from your side.

Describe the solution you'd like

Staff users should be able to create/update enrollment on closed runs. Regular users should still be blocked if they try to enroll to this kind of runs.

Discovery, Documentation, Adoption, Migration Strategy

  • Before implementing this feature, we should check it will work with our connected LMS (OpenEdX and Moodle)
    • Does OpenEdX allow to create/update an enrollment on a closed enrollment ?
    • Does Moodle allow to create/udpate an enrollment on a closed enrollment ?
@jbpenrath jbpenrath changed the title Authorize enrollment creation/update on archived course run for admin Authorize enrollment creation/update on closed course runs for admin Nov 13, 2024
@jbpenrath jbpenrath changed the title Authorize enrollment creation/update on closed course runs for admin Authorize enrollment creation/update by admin on closed course runs Nov 13, 2024
@jonathanreveille jonathanreveille self-assigned this Nov 20, 2024
jonathanreveille added a commit that referenced this issue Nov 22, 2024
It was forbid for an admin user to create/update an enrollment
on a closed course run. Now it is eligible. The logic has been
put into the serializers on  the client API to preserve the old
logic in order to block enrollments on closed course runs.

Fix #962
jonathanreveille added a commit that referenced this issue Nov 22, 2024
It was forbid for an admin user to create/update an enrollment
on a closed course run. Now it is eligible. The logic has been
put into the serializers on  the client API to preserve the old
logic in order to block enrollments on closed course runs.

Fix #962
jonathanreveille added a commit that referenced this issue Nov 22, 2024
It was forbid for an admin user to create/update an enrollment
on a closed course run. Now it is eligible. The logic has been
put into the serializers on  the client API to preserve the old
logic in order to block enrollments on closed course runs.

Fix #962
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants