我的意思是,我知道這些是什麼,但是我有點迷惑有關安全規則,例如: service cloud.firestore {
match /databases/{database}/documents {
// This is probably a mistake
match /spaceships { // <= what is this a collection or a
我想在Angular 4應用中使用Angularfire2。我可以使用AngularFirestoreCollection從我的firestore中獲取對象的集合。但是,當我遍歷集合中的文檔時,我注意到文檔不包含文檔關鍵字。所以,我不認爲我有什麼辦法來做這樣的事情,比如從用戶界面的列表中刪除一個文檔,因爲我不知道與文檔關聯的關鍵。這裏是我的代碼: export class CategoryComp
我試圖在Firestore規則的幫助下建立以下方案。 我該如何讓用戶無需身份驗證即可訪問「產品」集合,但可以通過身份驗證訪問其他集合?我試圖把規則如下,但它不起作用。 service cloud.firestore {
match /databases/{database}/documents {
// All should be able to access products