{
"rules": {
"record_limits" : {
".read" : "auth.token.email_verified == true",
}
}{
"record_limits" : {
"max" : 170,
"min" : 100
}
}Hi Anton,
Can you create a minimal repro (less than 100 lines of code that runs and reproduces the error, version info, sample data, security rules, and steps to reproduce) we can use to verify and troubleshoot? My initial guess would be that it’s a timing issue and the data is accessed before auth takes place.
You may also get some interesting clues by turning on debug logging:
JS: firebase.database().enableLogging(true);
iOS: [FIRDatabase setLoggingEnabled:YES];
Android: FirebaseDatabase.getInstance().setLogLevel(Logger.Level.DEBUG);
Also, in this case, it would be good to see the output from the simulator to prove that's the only rule being evaluated.
☼, Kato
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/3e35d8be-5cf6-49ae-8103-a93e9def9e62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CADypTEY99wS%3DSHaJ5O%2BFxs%2BB9ntzEyhsD_xeY8bbnMheBDP9Wg%40mail.gmail.com.