summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorDavin Walker <dishcandanty@gmail.com>2018-05-28 09:57:17 -0600
committerDavin Walker <dishcandanty@gmail.com>2018-05-28 09:57:17 -0600
commitd6e3a6b5fb79ae1983daf096bf87fe14d298e6dc (patch)
tree3cd8d8bc806f5479a6111b1aa62b1419cf1c8030 /lib/api
parent65bfec654a1ff2894e7829573d266f8d63c846f2 (diff)
downloadgitlab-ce-d6e3a6b5fb79ae1983daf096bf87fe14d298e6dc.tar.gz
include groups in description
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/settings.rb b/lib/api/settings.rb
index e31c332b6e4..d727ad59367 100644
--- a/lib/api/settings.rb
+++ b/lib/api/settings.rb
@@ -24,7 +24,7 @@ module API
optional :default_project_visibility, type: String, values: Gitlab::VisibilityLevel.string_values, desc: 'The default project visibility'
optional :default_snippet_visibility, type: String, values: Gitlab::VisibilityLevel.string_values, desc: 'The default snippet visibility'
optional :default_group_visibility, type: String, values: Gitlab::VisibilityLevel.string_values, desc: 'The default group visibility'
- optional :restricted_visibility_levels, type: Array[String], desc: 'Selected levels cannot be used by non-admin users for projects or snippets. If the public level is restricted, user profiles are only visible to logged in users.'
+ optional :restricted_visibility_levels, type: Array[String], desc: 'Selected levels cannot be used by non-admin users for groups, projects or snippets. If the public level is restricted, user profiles are only visible to logged in users.'
optional :import_sources, type: Array[String], values: %w[github bitbucket gitlab google_code fogbugz git gitlab_project],
desc: 'Enabled sources for code import during project creation. OmniAuth must be configured for GitHub, Bitbucket, and GitLab.com'
optional :disabled_oauth_sign_in_sources, type: Array[String], desc: 'Disable certain OAuth sign-in sources'