Whitelist next project names: notes, services

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-12-21 21:08:55 +02:00
parent f3f42f7b8f
commit 1c2d9015da
No known key found for this signature in database
GPG key ID: 627C5F589F467F17
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -0,0 +1,4 @@
---
title: 'Whitelist next project names: notes, services'
merge_request:
author: