summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-09-28 11:05:07 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2018-09-28 11:05:07 +0000
commite8e1a51adddd9d7a504c06ea383cf682493f6a90 (patch)
tree1a641ab647f583b95dc4795e9f156c11c1999196
parent790eabcaf4a703d2776a0c6e0c461d35598e37b1 (diff)
parentde7dd2239e8486c7cbe850e4d5a1ede77d09de2b (diff)
downloadgitlab-ce-e8e1a51adddd9d7a504c06ea383cf682493f6a90.tar.gz
Merge branch 'da-clarify-subgroup-permissions' into 'master'
Clarify subgroup permissions See merge request gitlab-org/gitlab-ce!21769
-rw-r--r--doc/user/group/subgroups/index.md32
1 files changed, 17 insertions, 15 deletions
diff --git a/doc/user/group/subgroups/index.md b/doc/user/group/subgroups/index.md
index b55946a788f..8db36c4a0e8 100644
--- a/doc/user/group/subgroups/index.md
+++ b/doc/user/group/subgroups/index.md
@@ -1,9 +1,8 @@
# Subgroups
-> **Notes:**
-> - [Introduced][ce-2772] in GitLab 9.0.
-> - Not available when using MySQL as external database (support removed in
-> GitLab 9.3 [due to performance reasons][issue]).
+NOTE: **Note:**
+[Introduced][ce-2772] in GitLab 9.0. Not available when using MySQL as external
+database (support removed in GitLab 9.3 [due to performance reasons][issue]).
With subgroups (aka nested groups or hierarchical groups) you can have
up to 20 levels of nested groups, which among other things can help you to:
@@ -79,14 +78,14 @@ structure.
## Creating a subgroup
-> **Notes:**
-> - You need to be an Owner of a group in order to be able to create
-> a subgroup. For more information check the [permissions table][permissions].
-> - For a list of words that are not allowed to be used as group names see the
-> [reserved names][reserved].
-> - Users can always create subgroups if they are explicitly added as an Owner to
-> a parent group even if group creation is disabled by an administrator in their
-> settings.
+NOTE: **Note:**
+You need to be an Owner of a group in order to be able to create a subgroup. For
+more information check the [permissions table][permissions].
+For a list of words that are not allowed to be used as group names see the
+[reserved names][reserved].
+Users can always create subgroups if they are explicitly added as an Owner to
+a parent group even if group creation is disabled by an administrator in their
+settings.
To create a subgroup:
@@ -136,12 +135,15 @@ From the image above, we can deduct the following things:
### Overriding the ancestor group membership
->**Note:**
+NOTE: **Note:**
You need to be an Owner of a group in order to be able to add members to it.
+NOTE: **Note:**
+A user's permissions in a subgroup cannot be lower than in any of its ancestor groups.
+Therefore, you cannot reduce a user's permissions in a subgroup with respect to its ancestor groups.
+
To override a user's membership of an ancestor group (the first group they were
-added to), simply add the user in the new subgroup again, but with different
-permissions.
+added to), add the user to the new subgroup again with a higher set of permissions.
For example, if User0 was first added to group `group-1/group-1-1` with Developer
permissions, then they will inherit those permissions in every other subgroup