Reputation: 433
i have this warning in my front end
My data in firebase is this:
after basic i have a key, i try with this rule:
{
"rules": {
".read": true,
".write": true,
"workers": {
"report":{
"basic":{
"$groupid":{
".indexOn": "date"
}}
}
}
}
}
but the warning persist!
how can config the rules in firebase?
Upvotes: 0
Views: 85
Reputation: 76619
think that the $groupid
is not required, because the error message does not have it:
{
"rules": {
".read": true,
".write": true,
"workers" {
"report" {
"basic" {
".indexOn": "date"
}
}
}
}
}
... and consider adding further security rules; these permissions are alike 777
on a web-server.
Upvotes: 2