NodeBB / NodeBB/NodeBB

Banned User not being removed from Groups

Open
#10,661 5 comments 0 reactions 1 assignee View on GitHub

@julianlam is already working on this.

Since Jun 15, 2022.

bug
Dominant language
JavaScript
Stars
15.2k
Forks
3k
Avg merge
16h 19m
Merged PRs (30d)
167

Description

When a user is banned they are only removed from system groups (except Banned Users group) but aren't removed from custom created groups. Is this intentional behaviour?

If so, is it possible to add options in Admin to select whether to remove from all groups or to have a list of groups to remove from on ban?

Currently I'm using the ban action hook to remove from custom groups but it doesnt allow the Community Managers to manage that list if and when they add a new group.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.