diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-05-17 13:42:55 +0300 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-05-19 09:48:25 +0300 |
commit | 6c61f56c56f0d60fca7004c5d11278b4483f2cc4 (patch) | |
tree | 827bb1f4b38427d7eefeb60cfb2d03f4d35afe07 /doc | |
parent | e0e2197465112072c4649acd65bf88f8dca6b549 (diff) |
Merge branch 'bvl-docs-dynamic-path-validator' into 'master'
Update documentation on reserved words for groups and projects
See merge request !11432
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/group/subgroups/index.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/user/group/subgroups/index.md b/doc/user/group/subgroups/index.md index ce5da07c61a..a4726673fc4 100644 --- a/doc/user/group/subgroups/index.md +++ b/doc/user/group/subgroups/index.md @@ -71,8 +71,10 @@ structure. - 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 - [`namespace_validator.rb` file][reserved] under the `RESERVED` and - `WILDCARD_ROUTES` lists. + [`dynamic_path_validator.rb` file][reserved] under the `TOP_LEVEL_ROUTES`, `WILDCARD_ROUTES` and `GROUP_ROUTES` lists: + - `TOP_LEVEL_ROUTES`: are names that are reserved as usernames or top level groups + - `WILDCARD_ROUTES`: are names that are reserved for child groups or projects. + - `GROUP_ROUTES`: are names that are reserved for all groups or projects. To create a subgroup: @@ -161,4 +163,4 @@ Here's a list of what you can't do with subgroups: [ce-2772]: https://gitlab.com/gitlab-org/gitlab-ce/issues/2772 [permissions]: ../../permissions.md#group -[reserved]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/validators/namespace_validator.rb +[reserved]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/validators/dynamic_path_validator.rb |