openedx / openedx/openedx-platform

Non active users can enroll in courses

Open
#36,402 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

As per the documentation, users should activate their account by following the emailed instructions before they can enroll in a course. However it's not what actually happens and inactive users can enroll in any course the first time they access after registration.

Steps to reproduce:
  1. Go to the Open edX sandbox
  2. Register a new account
  3. Do not logout
  4. Do not click the link in the email to confirm you account
  5. Verify that learner dashboard shows a message like "Remember to confirm your email so that you can keep learning!" Do NOT click on the link to confirm now.
  6. Go to the course catalog, open the course about page and enroll in any open course.
  7. Browse, take exams, etc.
Expected behavior:

Students should not be allowed to enroll in any course before activating their accounts.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the enrollment requirements documentation and reproduce the behavior in the Open edX sandbox using the listed registration and enrollment steps. Trace the enrollment eligibility flow for an account that has not confirmed its email; done means inactive users are prevented from enrolling in courses while activated users retain normal enrollment access.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, authorization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.