diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-05-04 18:11:31 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2017-05-04 18:11:31 +0200 |
commit | 4b9eab02b8cc8bd443a802d1d73da26e5b3178d9 (patch) | |
tree | 3bba76225e78ab3f76fd1691ceb1749a67b0c79b /app/validators | |
parent | e7b6f39fe1b3d6d21c32f564a3efe17c1c34fd74 (diff) | |
download | gitlab-ce-4b9eab02b8cc8bd443a802d1d73da26e5b3178d9.tar.gz |
Reject EE reserved namespace paths in CE as wellbvl-reject-ee-namespace-names
Diffstat (limited to 'app/validators')
-rw-r--r-- | app/validators/dynamic_path_validator.rb | 7 |
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 |