-
-
Notifications
You must be signed in to change notification settings - Fork 8
Indexes
Olivier Lefebvre edited this page Jul 29, 2018
·
1 revision
Thoses rules are automaticaly created by stores implementations if you authenticate requests with an Oauth2 access token.
If you chose a Firebase ID token, you must add those rules manualy to your database.
{
"rules": {
"users": {
".indexOn": ["NormalizedEmail", "NormalizedUserName"]
},
"roles": {
".indexOn": "NormalizedName"
},
"users-roles": {
".indexOn": ["UserId", "RoleId"]
},
"user-claims": {
".indexOn": ["UserId", "ClaimType"]
},
"user-logins": {
".indexOn": ["ProviderKey", "UserId"]
}
}
}
No index need.