Skip to content

Conversation

@adampalay
Copy link
Contributor

MVP functionality to disable disruptive users:

  1. Creates a UserStanding model, which is checked against each time a user logs in (if the user's account_status is disabled, they can't get in and they get an error message saying their account has been disabled)

  2. Deletes all of that user's sessions, so whenever they navigate to another page they will be redirected to the login page.

The template is very, very barebones, and right now the url isn't linked to anywhere. That can easily be changed by adding a link to the instruct dashboard tab. Alternatively, this functionality can be directly inserted into the instructor dashboard.

@nedbat
@e0d

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's best to end lists like this with a comma, and put the paren on the next line, so you don't have to edit the last line when adding a new last item.

@nedbat
Copy link
Contributor

nedbat commented Oct 9, 2013

You have no tests! :( Need to test the new views you wrote, as well as the behavior of the login form if the user has been disabled.

@nedbat nedbat closed this Oct 9, 2013
@nedbat nedbat reopened this Oct 9, 2013
@adampalay
Copy link
Contributor Author

thanks @nedbat , I'm going to close this for now as I address all this. there's talk of moving this to the instr dash too.

@adampalay adampalay closed this Oct 9, 2013
@benpatterson benpatterson deleted the adam/disable-accounts branch January 21, 2015 13:14
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Oct 1, 2016
…ssages-of-entrance-exam

Fix messages of entrance exam openedx#1266
lgp171188 pushed a commit to open-craft/openedx-platform that referenced this pull request Nov 30, 2018
…estore-missing-completion-list-endpoint

MCKIN-8437: Version bump api-integration to branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants