# How to disallow deletion of new users?

**URL:** https://meta.discourse.org/t/how-to-disallow-deletion-of-new-users/126681
**Category:** Support
**Created:** [23 augustus 2019 om 18:36 UTC](https://meta.discourse.org/t/how-to-disallow-deletion-of-new-users/126681 "2019-08-23T18:36:27Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ryantm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryantm/32/134063_2.png) [@ryantm](https://meta.discourse.org/u/ryantm)
#### Post date: [23 augustus 2019 om 18:36 UTC](https://meta.discourse.org/t/how-to-disallow-deletion-of-new-users/126681/1 "2019-08-23T18:36:27Z")

</div>

Hi.

Recently one of our moderators accidentally deleted a user whose post was flagged in the moderation queue by the system. Unfortunately, it does not seem like there is a feature to undo the deletion in the web interface. To try to avoid this happening again, we set `delete user max post age` to 0:

![image](https://global.discourse-cdn.com/meta/original/3X/0/0/004bac1a243babf41590c42d7519ff20f951e08e.png)

However, I am still able to delete a user via the moderation review queue. Is there a way to disallow deletion of users, or a way to undo the deletion via the web interface?

Sincerely,  
Ryan Mulligan

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [24 augustus 2019 om 00:06 UTC](https://meta.discourse.org/t/how-to-disallow-deletion-of-new-users/126681/2 "2019-08-24T00:06:48Z")

</div>

It’s not really possible to delete established users without quite a lot of effort, so I’m not clear what you’re referring to.

Do you mean deleting a _new_ user? That’s a very different thing with very different rules around it (because spammers).

---

<div class="post-metadata">

### Author: ![ryantm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryantm/32/134063_2.png) [@ryantm](https://meta.discourse.org/u/ryantm)
#### Post date: [24 augustus 2019 om 01:10 UTC](https://meta.discourse.org/t/how-to-disallow-deletion-of-new-users/126681/3 "2019-08-24T01:10:21Z")

</div>

Yes, the user we accidentally deleted was a new, completely legitimate user.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [24 augustus 2019 om 01:30 UTC](https://meta.discourse.org/t/how-to-disallow-deletion-of-new-users/126681/4 "2019-08-24T01:30:33Z")

</div>

New users are always on the verge of deletion, because spammers. There’s no way to ‘fix’ that, I’m afraid.

---

<div class="post-metadata">

### Author: ![marianord](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marianord/32/90502_2.png) [@marianord](https://meta.discourse.org/u/marianord)
#### Post date: [24 augustus 2019 om 14:47 UTC](https://meta.discourse.org/t/how-to-disallow-deletion-of-new-users/126681/5 "2019-08-24T14:47:16Z")

</div>

I don’t really know how the deletion process works right now, but wouldn’t it be possible to add a confirmation pop-up that clearly states that the user will be deleted and it’s a permanent action?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [24 augustus 2019 om 15:39 UTC](https://meta.discourse.org/t/how-to-disallow-deletion-of-new-users/126681/6 "2019-08-24T15:39:52Z")

</div>

That is already how it works. This topic is about adding additional layers on top of that.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [24 augustus 2019 om 17:11 UTC](https://meta.discourse.org/t/how-to-disallow-deletion-of-new-users/126681/7 "2019-08-24T17:11:31Z")

</div>

This sounds more like a training issue and someone being asleep at the wheel than anything technical.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [23 september 2019 om 17:19 UTC](https://meta.discourse.org/t/how-to-disallow-deletion-of-new-users/126681/8 "2019-09-23T17:19:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
