-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Users can't be deleted #1163
Comments
vitorbaptista
added a commit
that referenced
this issue
Aug 7, 2013
To do this, I've configured the User model to be stateful using vdm.sqlalchemy. Right now, there're two states: active and deleted. If a user is deleted, he can't login, and is unauthorized to do anything. She also doesn't appear in the user's list anymore, but you can still access her profile page, if you know her username. If she was logged in when her user was deleted, the next time she goes into CKAN, she'll be logged off. Unfortunately, there's not a useful message like "Your user has been deleted." Yet. There's no way to undelete a user, but it should be simply creating an action to set her state to active.
ghost
assigned vitorbaptista
Aug 7, 2013
vitorbaptista
added a commit
that referenced
this issue
Aug 7, 2013
To do this, I've configured the User model to be stateful using vdm.sqlalchemy. Right now, there're two states: active and deleted. If a user is deleted, he can't login, and is unauthorized to do anything. She also doesn't appear in the user's list anymore, but you can still access her profile page, if you know her username. If she was logged in when her user was deleted, the next time she goes into CKAN, she'll be logged off. Unfortunately, there's not a useful message like "Your user has been deleted." Yet. There's no way to undelete a user, but it should be simply creating an action to set her state to active.
vitorbaptista
added a commit
that referenced
this issue
Aug 7, 2013
To do this, I've configured the User model to be stateful using vdm.sqlalchemy. Right now, there're two states: active and deleted. If a user is deleted, he can't login, and is unauthorized to do anything. She also doesn't appear in the user's list anymore, but you can still access her profile page, if you know her username. If she was logged in when her user was deleted, the next time she goes into CKAN, she'll be logged off. Unfortunately, there's not a useful message like "Your user has been deleted." Yet. There's no way to undelete a user, but it should be simply creating an action to set her state to active.
vitorbaptista
added a commit
that referenced
this issue
Aug 7, 2013
To do this, I've configured the User model to be stateful using vdm.sqlalchemy. Right now, there're two states: active and deleted. If a user is deleted, he can't login, and is unauthorized to do anything. She also doesn't appear in the user's list anymore, but you can still access her profile page, if you know her username. If she was logged in when her user was deleted, the next time she goes into CKAN, she'll be logged off. Unfortunately, there's not a useful message like "Your user has been deleted." Yet. There's no way to undelete a user, but it should be simply creating an action to set her state to active.
vitorbaptista
added a commit
that referenced
this issue
Aug 9, 2013
This makes us a bit less tied to vdm.
vitorbaptista
added a commit
that referenced
this issue
Aug 9, 2013
With this change, we're able to avoid having to load ckan.model inside methods, to avoid circular dependencies.
vitorbaptista
added a commit
that referenced
this issue
Aug 18, 2013
To do this, I've configured the User model to be stateful using vdm.sqlalchemy. Right now, there're two states: active and deleted. If a user is deleted, he can't login, and is unauthorized to do anything. She also doesn't appear in the user's list anymore, but you can still access her profile page, if you know her username. If she was logged in when her user was deleted, the next time she goes into CKAN, she'll be logged off. Unfortunately, there's not a useful message like "Your user has been deleted." Yet. There's no way to undelete a user, but it should be simply creating an action to set her state to active.
vitorbaptista
added a commit
that referenced
this issue
Aug 18, 2013
This makes us a bit less tied to vdm.
vitorbaptista
added a commit
that referenced
this issue
Aug 18, 2013
With this change, we're able to avoid having to load ckan.model inside methods, to avoid circular dependencies.
Duplicate of #1163 |
@kindly I suppose you meant another issue? :P |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After a user was created, there's no way to delete it, other than going to the database and removing its entry.
The text was updated successfully, but these errors were encountered: