Confirm on leaving private group

On the Groups list page it is very easy to click the red Leave button by mistake. If it is a public group that’s not so bad, you can simply rejoin (as an ordinary member not owner, if that’s what you were)
There is no confirmation dialogue.
When leaving a private group this is a problem if the user has made a mistake.
Can we have a “Are you Sure” confirmation popup when leaving a private group? (or indeed any group)

8 Likes

Not a bad idea @eviltrout?

1 Like

Users will have to confirm when leaving a private group. This was done here:

https://github.com/discourse/discourse/commit/0d08eac1c73adf71a858b79c6a1ed199597919c7

5 Likes