Skip to content

Moderate users

DETAILS: Tier: Ultimate Offering: GitLab.com

This is the group-level documentation. For self-managed instances, see the administration documentation.

A group Owner can moderate user access by banning and unbanning users. You should ban a user when you want to block them from the group.

A banned user:

  • Cannot access the group or any of repositories.
  • Cannot use slash commands.
  • Does not occupy a seat.

Unban a user

To unban a user with the GraphQL API, see Mutation.namespaceBanDestroy.

For a demo on unbanning a user at the group level, see Namespace level ban - Unbanning a user.

Prerequisites:

  • In the top-level group, you must have the Owner role.

To unban a user:

  1. Go to the top-level group.
  2. On the left sidebar, select Manage > Members.
  3. Select the Banned tab.
  4. For the account you want to unban, select Unban.

Ban a user

For a demo on banning a user at the group level, see Namespace level ban - Banning a user.

Prerequisites:

  • In the top-level group, you must have the Owner role.
  • In the top-level group, if the user you want to ban has the Owner role, you must demote the user.

To manually ban a user:

  1. Go to the top-level group.
  2. On the left sidebar, select Manage > Members.
  3. Next to the member you want to ban, select the vertical ellipsis ({ellipsis_v}).
  4. From the dropdown list, select Ban member.