Reputation: 2402
According to what I've read, when a function runs via the server, all Firestore rules are ignored. How can I avoid this behavior?
Upvotes: 0
Views: 323
Reputation: 598765
Cloud Functions use the Admin SDK to access Firestore, which runs with administrative privileges and always bypasses security rules. There is (currently) no way to change this behavior.
Also see:
Upvotes: 5