Commit f603e423 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'dz-whitelist-dashboard-project-path' into 'master'

Allow projects with dashboard as path

See merge request !8216
parents 0ba41ea1 8b92e9c0
...@@ -14,7 +14,8 @@ class ProjectPathValidator < ActiveModel::EachValidator ...@@ -14,7 +14,8 @@ class ProjectPathValidator < ActiveModel::EachValidator
# without tree as reserved name routing can match 'group/project' as group name, # without tree as reserved name routing can match 'group/project' as group name,
# '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] +
%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
......
---
title: Allow projects with 'dashboard' as path
merge_request:
author:
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