From 4dffa7688e24ad2972d51d46bab3e42793f5f10e Mon Sep 17 00:00:00 2001 From: Chris Brentano Date: Thu, 20 Jun 2024 11:01:59 -0700 Subject: [PATCH] Add FirefoxGraphics to match prod --- rules/GHE-Groups.js | 3 ++- tests/GHE-Groups.test.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rules/GHE-Groups.js b/rules/GHE-Groups.js index e817319..30dd4aa 100644 --- a/rules/GHE-Groups.js +++ b/rules/GHE-Groups.js @@ -60,7 +60,8 @@ async function GHEGroups(user, context, callback) { 'IEc83wZvZzcQXMkpUmrnb9P8wztUiokl': 'mozilliansorg_ghe_mozscout_users', 'vkoDkHlCEUhlHNhVDtewJqRLVLGVsPrZ': 'mozilliansorg_ghe_mozilla-fakespot_users', 'T6mjvGguOB5hkq9Aviaa58tOlwpJG5o6': 'mozilliansorg_ghe_mozilla-necko_users', - 'ZemrAl9S2q9GKJNQUdjZCNsLiVmSEg1P': 'mozilliansorg_ghe_mozilla-privacy_users' + 'ZemrAl9S2q9GKJNQUdjZCNsLiVmSEg1P': 'mozilliansorg_ghe_mozilla-privacy_users', + 'sZHTTA4iuHgmiQGzbkS7lcXE1bbMGces': 'mozilliansorg_ghe_firefoxgraphics_users' }; // ClientID isn't mapped here, return callback() and proceed rules processing diff --git a/tests/GHE-Groups.test.js b/tests/GHE-Groups.test.js index 09c5cfa..82beacf 100644 --- a/tests/GHE-Groups.test.js +++ b/tests/GHE-Groups.test.js @@ -98,7 +98,8 @@ const applicationGroupMapping = { 'IEc83wZvZzcQXMkpUmrnb9P8wztUiokl': 'mozilliansorg_ghe_mozscout_users', 'vkoDkHlCEUhlHNhVDtewJqRLVLGVsPrZ': 'mozilliansorg_ghe_mozilla-fakespot_users', 'T6mjvGguOB5hkq9Aviaa58tOlwpJG5o6': 'mozilliansorg_ghe_mozilla-necko_users', - 'ZemrAl9S2q9GKJNQUdjZCNsLiVmSEg1P': 'mozilliansorg_ghe_mozilla-privacy_users' + 'ZemrAl9S2q9GKJNQUdjZCNsLiVmSEg1P': 'mozilliansorg_ghe_mozilla-privacy_users', + 'sZHTTA4iuHgmiQGzbkS7lcXE1bbMGces': 'mozilliansorg_ghe_firefoxgraphics_users' }; const applicationGroupEntries = Object.entries(applicationGroupMapping);