What I Wanted to Do
Remove a user from a private npm organisation
What Happened Instead
A friendly user reported to our npm organisation that they had been accidentally added to it, and wanted to be removed. I went to the members page at haste, typed their name in the search-looking box above the list of members and pressed enter. It was then that I realised that this wasn’t a search box, but an invite box, which is presumably how they were added in the first place.
I was worried whether pressing enter in this form had done anything (e.g. re-inviting the user), because there wasn’t any visual feedback, so I typed my own username in and pressed enter. I didn’t alter the [Member/Owner] radio buttons next to the box. The form submitted my name and removed my owner permissions, demoting me down to a member. Now I can’t remove the user!
Navigate to organisation members page as an owner and see the box above the member list
Enter own username into the box and press enter