From 5c22a8f083fb3354f9cde88aa2eee7e06d769c44 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 28 Jul 2021 08:06:00 -0400 Subject: [PATCH] Add "playbooks" and "boards" to restricted team URLs list (#18014) --- model/team_test.go | 2 ++ model/utils.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/model/team_test.go b/model/team_test.go index 6c05fef23c..c5cbb9ee61 100644 --- a/model/team_test.go +++ b/model/team_test.go @@ -100,6 +100,8 @@ var tReservedDomains = []struct { {"admin", true}, {"Admin-punch", true}, {"spin-punch-admin", false}, + {"playbooks", true}, + {"boards", true}, } func TestReservedTeamName(t *testing.T) { diff --git a/model/utils.go b/model/utils.go index 481d57ce94..2ddc6cabdf 100644 --- a/model/utils.go +++ b/model/utils.go @@ -392,6 +392,8 @@ var reservedName = []string{ "plugins", "post", "signup", + "boards", + "playbooks", } func IsValidChannelIdentifier(s string) bool {