Commit 48a16d4c authored by Dylan Griffith's avatar Dylan Griffith

Merge branch '299489-add-descriptions-to-visibility-levels-enum' into 'master'

Add descriptions to VisibilityLevelsEnum

See merge request gitlab-org/gitlab!54630
parents d85d0100 7aa0472f
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
module Types module Types
class VisibilityLevelsEnum < BaseEnum class VisibilityLevelsEnum < BaseEnum
Gitlab::VisibilityLevel.string_options.each do |name, int_value| Gitlab::VisibilityLevel.string_options.each do |name, int_value|
value name.downcase, value: int_value value name.downcase, value: int_value, description: "#{name.titleize} visibility level."
end end
end end
end end
...@@ -5819,9 +5819,9 @@ Possible states of a user. ...@@ -5819,9 +5819,9 @@ Possible states of a user.
| Value | Description | | Value | Description |
| ----- | ----------- | | ----- | ----------- |
| `internal` | | | `internal` | Internal visibility level. |
| `private` | | | `private` | Private visibility level. |
| `public` | | | `public` | Public visibility level. |
### VisibilityScopesEnum ### VisibilityScopesEnum
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment