Firebase – Firestore security rules error when comparing dates
When i run the query below i get permission-denied and in the "Monitor rules"-tab i get an error. const timeNow = useMemo(() => Timestamp.now(), []); const query = query( postRef, where("tags", "array-contains-any", ["Event"]), where("publishDate", "<=", timeNow), orderBy("publishDate", "desc"), limit(4) );…