From 544ed98c22b56026a7a1f2e36b0dbae0ef125624 Mon Sep 17 00:00:00 2001 From: Carla Drago Date: Thu, 15 Jun 2023 12:12:35 +0000 Subject: [PATCH 1/2] Update 2 files - /doc/user/permissions.md - /doc/user/group/index.md --- doc/user/group/index.md | 3 +++ doc/user/permissions.md | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/user/group/index.md b/doc/user/group/index.md index 4dbb05de584319..4530fb3f25ee9b 100644 --- a/doc/user/group/index.md +++ b/doc/user/group/index.md @@ -271,6 +271,9 @@ There are two different ways to add a new project to a group: By default, users with at least the Developer role can create projects under a group. +Forking a project into a group is only possible by a Maintainer, in order to prevent Developer role users from forking projects that contain +protected branches. + To change this setting for a specific group: 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find your group. diff --git a/doc/user/permissions.md b/doc/user/permissions.md index 5781b109da92c5..0b02de59ab48ec 100644 --- a/doc/user/permissions.md +++ b/doc/user/permissions.md @@ -369,6 +369,7 @@ The following table lists group permissions available for each role: | View [Productivity analytics](analytics/productivity_analytics.md) | | ✓ | ✓ | ✓ | ✓ | | Create and edit [group wiki](project/wiki/group.md) pages | | | ✓ | ✓ | ✓ | | Create project in group | | | ✓ (2)(4) | ✓ (2) | ✓ (2) | +| Fork project into a group | | | | ✓ | ✓ | | Create/edit/delete group milestones | | ✓ | ✓ | ✓ | ✓ | | Create/edit/delete iterations | | ✓ | ✓ | ✓ | ✓ | | Create/edit/delete metrics dashboard annotations | | | ✓ | ✓ | ✓ | -- GitLab From 464e177761810e37f7b31816269e75a07a3bf80f Mon Sep 17 00:00:00 2001 From: Evan Read Date: Fri, 16 Jun 2023 06:08:25 +0000 Subject: [PATCH 2/2] Apply 1 suggestion(s) to 1 file(s) --- doc/user/group/index.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/user/group/index.md b/doc/user/group/index.md index 4530fb3f25ee9b..322cefc71d9f73 100644 --- a/doc/user/group/index.md +++ b/doc/user/group/index.md @@ -269,12 +269,13 @@ There are two different ways to add a new project to a group: > - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/2534) in GitLab 10.5. > - [Moved](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/25975) from GitLab Premium to GitLab Free in 11.10. -By default, users with at least the Developer role can create projects under a group. +By default, users with: -Forking a project into a group is only possible by a Maintainer, in order to prevent Developer role users from forking projects that contain -protected branches. +- At least the Developer role can create projects under a group. This default can be changed. +- At least the Maintainer role can fork projects into a group. This default prevents users with the Developer role from forking projects that + contain protected branches and cannot be changed. -To change this setting for a specific group: +To change the role that can create projects under a group: 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find your group. 1. Select **Settings > General**. -- GitLab