mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Add "playbooks" and "boards" to restricted team URLs list (#18014)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -392,6 +392,8 @@ var reservedName = []string{
|
||||
"plugins",
|
||||
"post",
|
||||
"signup",
|
||||
"boards",
|
||||
"playbooks",
|
||||
}
|
||||
|
||||
func IsValidChannelIdentifier(s string) bool {
|
||||
|
||||
Reference in New Issue
Block a user