Whitelist Austin, Ricki, Ross, and Govind as admins

This commit is contained in:
Austin Chen 2022-07-05 16:58:57 -07:00
parent 1cf9605663
commit f7558e0ee6
2 changed files with 11 additions and 6 deletions

View File

@ -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,

View File

@ -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 {