1
Hello, I’m studying how the firestore security rules work and I came across the following situation.
I have a collection called: "restaurants" with three documents "uid1, uid2 and uid3". That’s where a question arose.
1 - Is there any way to ensure that only Admin can list all these restaurants?
2 - how to ensure that only the restaurant with "uid1" can update its own data and not modify the other restaurants?