From f7558e0ee6229127041d8ae83b364e7670fea4f8 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Tue, 5 Jul 2022 16:58:57 -0700 Subject: [PATCH] Whitelist Austin, Ricki, Ross, and Govind as admins --- common/envs/atlas2.ts | 9 +++++++-- firestore.rules | 8 ++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/common/envs/atlas2.ts b/common/envs/atlas2.ts index 2ee484b2..20e810ab 100644 --- a/common/envs/atlas2.ts +++ b/common/envs/atlas2.ts @@ -1,4 +1,4 @@ -import { EnvConfig, PROD_CONFIG } from './prod' +import { EnvConfig } from './prod' export const ATLAS2_CONFIG: EnvConfig = { domain: 'atlas2.manifold.markets', @@ -14,7 +14,12 @@ export const ATLAS2_CONFIG: EnvConfig = { cloudRunId: 'bdiirjgiyq', cloudRunRegion: 'uc', - adminEmails: [...PROD_CONFIG.adminEmails], + adminEmails: [ + 'akrolsmir@gmail.com', + 'ricki.heicklen@gmail.com', + 'ross@ftx.org', + 'gpimpale29@gmail.com', + ], whitelistEmail: '', moneyMoniker: '📎', fixedAnte: 25, diff --git a/firestore.rules b/firestore.rules index 28ff4485..f781181d 100644 --- a/firestore.rules +++ b/firestore.rules @@ -6,10 +6,10 @@ service cloud.firestore { match /databases/{database}/documents { function isAdmin() { - return request.auth.uid == 'igi2zGXsfxYPgB0DJTXVJVmwCOr2' // Austin - || request.auth.uid == '5LZ4LgYuySdL1huCWe7bti02ghx2' // James - || request.auth.uid == 'tlmGNz9kjXc2EteizMORes4qvWl2' // Stephen - || request.auth.uid == 'IPTOzEqrpkWmEzh6hwvAyY9PqFb2' // Manifold + return request.auth.uid == '5mBnfPj6epUxfy9dk72w0eJrL303' // Austin + || request.auth.uid == '5mBnfPj6epUxfy9dk72w0eJrL303' // Ricki + || request.auth.uid == 'hFNeKmd7gTZ9b6BFFmPl6E6RZNN2' // Ross + || request.auth.uid == 'TfWpdJEJ7QMTjp9DB0TVna9h7YF3' // Govind } match /stats/stats {