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
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-05-04 21:08:26 +0300
committerDouwe Maan <douwe@gitlab.com>2017-05-04 21:08:26 +0300
commit97a9a38b689e2ff7ab6dcd04d8bae65ef778e411 (patch)
tree0e0b19c30a4e7e2740e9c3b2b1002a5284fac965 /app
parentecdf7c26826cec524a38b1d648090258e12b3d55 (diff)
parent4b9eab02b8cc8bd443a802d1d73da26e5b3178d9 (diff)
Merge branch 'bvl-reject-ee-namespace-names' into 'master'
Reject EE reserved namespace paths in CE as well Closes #31800 See merge request !11095
Diffstat (limited to 'app')
-rw-r--r--app/validators/dynamic_path_validator.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/validators/dynamic_path_validator.rb b/app/validators/dynamic_path_validator.rb
index 226eb6b313c..d992b0c3725 100644
--- a/app/validators/dynamic_path_validator.rb
+++ b/app/validators/dynamic_path_validator.rb
@@ -115,13 +115,20 @@ class DynamicPathValidator < ActiveModel::EachValidator
# this would map to the activity-page of it's parent.
GROUP_ROUTES = %w[
activity
+ analytics
+ audit_events
avatar
edit
group_members
+ hooks
issues
labels
+ ldap
+ ldap_group_links
merge_requests
milestones
+ notification_setting
+ pipeline_quota
projects
subgroups
].freeze