doc/user/group/moderate_users.md
If you are assigned the Owner role for a group, you can approve, ban, or automatically remove dormant members.
[!note] This topic is specifically related to user moderation in groups. For information related to GitLab Self-Managed, see the administration documentation.
{{< details >}}
{{< /details >}}
{{< history >}}
limit_unique_project_downloads_per_namespace_user. Disabled by default.limit_unique_project_downloads_per_namespace_user removed.{{< /history >}}
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:
<i class="fa-youtube-play" aria-hidden="true"></i> For a demo on banning a user at the group level, see Namespace level ban - Banning a user.
Prerequisites:
To manually ban a user:
To unban a user with the GraphQL API, see Mutation.namespaceBanDestroy.
<i class="fa-youtube-play" aria-hidden="true"></i> For a demo on unbanning a user at the group level, see Namespace level ban - Unbanning a user.
Prerequisites:
To unban a user:
{{< details >}}
{{< /details >}}
{{< history >}}
group_remove_dormant_members. Disabled by default.{{< /history >}}
Prerequisites:
You can automatically remove group members who have no activity in the group for a specified period of time (default and minimum is 90 days). The following actions count as activity:
clone and push.[!note] Activity has not been recorded for members added before 2025-01-22. These members will not be removed until 2025-04-22, even if they have been dormant for over 90 days.
To turn on automatic dormant member removal:
After the member has reached the days of inactivity and is removed from the group: