Whitelist next project names: notes, services
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
f3f42f7b8f
commit
1c2d9015da
2 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,7 @@ class ProjectPathValidator < ActiveModel::EachValidator
|
||||||
# 'tree' as project name and 'deploy_keys' as route.
|
# 'tree' as project name and 'deploy_keys' as route.
|
||||||
#
|
#
|
||||||
RESERVED = (NamespaceValidator::RESERVED -
|
RESERVED = (NamespaceValidator::RESERVED -
|
||||||
%w[dashboard help ci admin search] +
|
%w[dashboard help ci admin search notes services] +
|
||||||
%w[tree commits wikis new edit create update logs_tree
|
%w[tree commits wikis new edit create update logs_tree
|
||||||
preview blob blame raw files create_dir find_file]).freeze
|
preview blob blame raw files create_dir find_file]).freeze
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: 'Whitelist next project names: notes, services'
|
||||||
|
merge_request:
|
||||||
|
author:
|
Loading…
Reference in a new issue