mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
* Add FIRRequest * Make FIRPredicate public * Make init public * Bugfixes * Add debug print * Move to main thread * Undo "Move to main thread" * Add FirebaseStore * Add placeholder value * Treat CollectionReference as Query * Change let to var * Replace getDocuments with addSnapshotListener * Feedback from review * Add sample project * Rename folder, Rename FirebaseStore to QueryStore, Rename FIRRequest to FirestoreQuery, Rename several functions, attributes and parameter labels, Extend error handling * Update some access specifiers, Add factory methods * Add orderBy and limitTo * Update Copyright, Rename FIRPredicate to QueryPredicate, Rename QueryStore to FirestoreQueryObservable, Rename some parameters, Remove setter for wrappedValue * Rename store to firestoreQueryObservable * Add limitToLast * Move different types to different files * Add FirestoreQueryConfiguration and projectedValue to dynamically change predicates & collectionPath * Add Documentation * Update documentation * Add example app * Address feedback from review * Fix whitespace * Address feedback from review * Update data * Add error handling (Manually cherry pick from Morten's PR: https://github.com/chFlorian/firebase-ios-sdk/pull/2) * Update sample app to demonstrate error handling * Cleanup * Fix warning regarding unwrapping * Fix tvOS availability * Fix typos * Experimental: use @FirestoreQuery inside a view model (Hint: this doesn't work) * Fix platform availabilities * Update data * Improve error handling * Cleanup * Address feedback from review * Update data * Cleanup * Alternate signature for predicates * Address feedback from review * Remove trailing backtick Co-authored-by: Florian Schweizer <post.an.flo@gmail.com> Co-authored-by: Morten Bek Ditlevsen <bek@termestrup.dk>
17 lines
711 B
Plaintext
17 lines
711 B
Plaintext
service cloud.firestore {
|
|
match /databases/{database}/documents {
|
|
match /{document=**} {
|
|
// This rule allows anyone with your database reference to view, edit,
|
|
// and delete all data in your database. It is useful for getting
|
|
// started, but it is configured to expire after 30 days because it
|
|
// leaves your app open to attackers. At that time, all client
|
|
// requests to your database will be denied.
|
|
//
|
|
// Make sure to write security rules for your app before that time, or
|
|
// else all client requests to your database will be denied until you
|
|
// update your rules.
|
|
allow read, write: if request.time < timestamp.date(2022, 9, 2);
|
|
}
|
|
}
|
|
}
|