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/validators/json_schemas')
-rw-r--r--app/validators/json_schemas/default_branch_protection_defaults.json12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/validators/json_schemas/default_branch_protection_defaults.json b/app/validators/json_schemas/default_branch_protection_defaults.json
index d93527ad0a4..02491d2708b 100644
--- a/app/validators/json_schemas/default_branch_protection_defaults.json
+++ b/app/validators/json_schemas/default_branch_protection_defaults.json
@@ -27,7 +27,11 @@
"additionalProperties": false,
"properties": {
"access_level": {
- "type": "integer"
+ "type": "integer",
+ "enum": [
+ 30,
+ 40
+ ]
}
}
}
@@ -52,7 +56,11 @@
"additionalProperties": false,
"properties": {
"access_level": {
- "type": "integer"
+ "type": "integer",
+ "enum": [
+ 30,
+ 40
+ ]
}
}
}