Reputation: 5597
I have few questions about collection group:
Is there way to execute request for collection group in Firestore simulator?
Can I add additional parameter for collection group rules for example the following rule is used for collection group
match /{prefix=**}/access/{email} {
allow read: if isSignedIn();
}
before access
collection i have one more collection with user id, is is possible to add it as parameter to do some validations?
Upvotes: 2
Views: 378
Reputation: 317868
No, there currently is no way to simulate a collection group query in the Firestore console. (Actually there is no querying at all except individual document gets.)
There is no way, using security rules, to know any of the other path elements that come before access
in the case you're showing. The prefix
wildcard actually will not even contain any data at the time of execution.
Upvotes: 4