Disallow registration when the proposed email is half-retired
Our learner retirement implementation shall allow re-use of email addresses, but we currently do not disallow re-use of emails for learners whose retirement is still in-progress (i.e. their retirement state is between PENDING and LMS_COMPLETE inclusive). The time between a user initiating retirement, and the jenkins job actually picking up the user and driving their account retirement might be as long as 1 hour, so this is a serious concern. Addresses EDUCATOR-2824.
Showing
- common/djangoapps/student/forms.py 2 additions, 1 deletioncommon/djangoapps/student/forms.py
- common/djangoapps/student/views/management.py 2 additions, 1 deletioncommon/djangoapps/student/views/management.py
- lms/djangoapps/instructor/views/api.py 16 additions, 0 deletionslms/djangoapps/instructor/views/api.py
- openedx/core/djangoapps/user_api/accounts/api.py 2 additions, 1 deletionopenedx/core/djangoapps/user_api/accounts/api.py
- openedx/core/djangoapps/user_api/accounts/utils.py 27 additions, 0 deletionsopenedx/core/djangoapps/user_api/accounts/utils.py
Please register or sign in to comment