Skip to content
Snippets Groups Projects
Commit 48a16d4c authored by Dylan Griffith's avatar Dylan Griffith
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,7 +3,7 @@
module Types
class VisibilityLevelsEnum < BaseEnum
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
Loading
Loading
@@ -5819,9 +5819,9 @@ Possible states of a user.
 
| Value | Description |
| ----- | ----------- |
| `internal` | |
| `private` | |
| `public` | |
| `internal` | Internal visibility level. |
| `private` | Private visibility level. |
| `public` | Public visibility level. |
 
### VisibilityScopesEnum
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment