gitlab-org--gitlab-foss/doc/user/admin_area/blocking_unblocking_users.md

1.4 KiB

type
howto

Blocking and unblocking users

GitLab administrators block and unblock users.

Blocking a user

In order to completely prevent access of a user to the GitLab instance, administrators can choose to block the user.

Users can be blocked via an abuse report, or directly from the Admin Area. To do this:

  1. Navigate to Admin Area > Overview > Users.
  2. Select a user.
  3. Under the Account tab, click Block user.

A blocked user:

  • Will not be able to login.
  • Cannot access Git repositories or the API.
  • Will not receive any notifications from GitLab.
  • Will not be able to use slash commands.

Personal projects, and group and user history of the blocked user will be left intact.

Users can also be blocked using the GitLab API.

NOTE: Note: A blocked user does not consume a seat.

Unblocking a user

A blocked user can be unblocked from the Admin Area. To do this:

  1. Navigate to Admin Area > Overview > Users.
  2. Click on the Blocked tab.
  3. Select a user.
  4. Under the Account tab, click Unblock user.

Users can also be unblocked using the GitLab API.

NOTE: Note: Unblocking a user will change the user's state to active and it consumes a seat.