-
-
Notifications
You must be signed in to change notification settings - Fork 10.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 API: deleting users #3100
Comments
I think user.edit and user.delete are not correct yet? Proposal:
|
The lack of ability to delete yourself is deliberate. From the perspective of a publishing house, you don't want your authors to throw a wobbly and delete themselves taking a tonne of your content with them. |
@ErisDS I read that part and didn't propose to change it. The changes are:
|
Sorry I looked too quickly - read change delete and saw I think you are correct about editor editing himself, and that an editor cannot delete admins. Not sure about having editors delete themselves? |
I think the only people who should delete themselves are admins |
updated table LGTM 👍 |
Couple of questoins:
|
IMHO user deletion should perform soft-deletes.
|
This conversation has already been had on #3083 we are not soft deleting, we will transfer content. |
Coming soon: #3182 |
@javorszky This is just an API call, it should perform a hard deletion of a user and all related content. Assume that if the content wasn't supposed to be deleted it would already have been moved away by logic / flow in the User interface. The rules of who can delete what are laid out in the table above, if the user can be deleted, all the content can be deleted too. |
closes TryGhost#3096, closes TryGhost#3378, refs TryGhost#3100 - user.permissible updated to reflect proper permissions - small amount of API refactoring to handle extra cases - extensive integration testing
Note, authors cannot delete even their own account.
The flow of deleting a user will include a way to transfer ownership of stuff.
The text was updated successfully, but these errors were encountered: