Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/snippets/visibility_scopes_enum.rb')
-rw-r--r--app/graphql/types/snippets/visibility_scopes_enum.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/types/snippets/visibility_scopes_enum.rb b/app/graphql/types/snippets/visibility_scopes_enum.rb
index 5488e05b95d..ddcc005eaf2 100644
--- a/app/graphql/types/snippets/visibility_scopes_enum.rb
+++ b/app/graphql/types/snippets/visibility_scopes_enum.rb
@@ -3,9 +3,9 @@
module Types
module Snippets
class VisibilityScopesEnum < BaseEnum
- value 'private', value: 'are_private'
- value 'internal', value: 'are_internal'
- value 'public', value: 'are_public'
+ value 'private', description: 'The snippet is visible only to the snippet creator.', value: 'are_private'
+ value 'internal', description: 'The snippet is visible for any logged in user except external users.', value: 'are_internal'
+ value 'public', description: 'The snippet can be accessed without any authentication.', value: 'are_public'
end
end
end