Skip to content

Commit b450f02

Browse files
committed
Add mozilla.org / Mozilla Organization / team_mozorg as a known staff domain
1 parent 7b86953 commit b450f02

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

tf/actions/ensureLdapUsersUseLdap.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ exports.onExecutePostLogin = async (event, api) => {
9292
// The domain strings in this array should always be declared here in lowercase
9393
const MOZILLA_STAFF_DOMAINS = [
9494
"mozilla.com", // Main corp domain
95-
"mozillafoundation.org", // Main org domain
95+
"mozillafoundation.org", // Mozilla Foundation domain
96+
"mozilla.org", // Mozilla Organization domain
9697
"getpocket.com", // Pocket domain
9798
"thunderbird.net", // MZLA domain
9899
"readitlater.com",

tf/actions/samlMappings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ exports.onExecutePostLogin = async (event, api) => {
1414
"mozilliansorg_sec_tines-access",
1515
"team_moco",
1616
"team_mofo",
17+
"team_mozorg",
1718
"team_mzla",
1819
"team_mzai",
1920
"team_mzvc",

tf/tests/ensureLdapUsersUseLdap.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ const WHITELIST = [
8383

8484
const MOZILLA_STAFF_DOMAINS = [
8585
"mozilla.com", // Main corp domain
86-
"mozillafoundation.org", // Main org domain
86+
"mozillafoundation.org", // Mozilla Foundation domain
87+
"mozilla.org", // Mozilla Organization domain
8788
"getpocket.com", // Pocket domain
8889
"thunderbird.net", // MZLA domain
8990
"readitlater.com",

tf/tests/samlMappings.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ describe("Tines SAML tests", () => {
155155
"bar",
156156
"team_moco",
157157
"team_mofo",
158+
"team_mozorg",
158159
"team_mzla",
159160
"team_mzai",
160161
"team_mzvc",
@@ -166,6 +167,7 @@ describe("Tines SAML tests", () => {
166167
"mozilliansorg_sec_tines-access",
167168
"team_moco",
168169
"team_mofo",
170+
"team_mozorg",
169171
"team_mzla",
170172
"team_mzai",
171173
"team_mzvc",

0 commit comments

Comments
 (0)