How to restrict a user's access in django admin - Appsembler

How to restrict a user’s access in django admin

When restricting a user’s access to a customer Open edX site, we don’t delete the user – this can cause other issues. Instead, follow these steps:

  1. Locate the user in the /admin page
  2. Set the user to inactive
  3. Change the email to something nonsensical. (user@company.com to user_oldemail@company.com)
  4. Manually change the password to some long of gibberish
  5. Save your changes