I have a path in a Firebase project with a collection of thing
s in it. Each thing
has an owner
property. I want to allow users to access the /things
path, but they should only see the thing
s that have their auth.uid
as owner
. Using security rules, I can limit the /things/$thing
path to only be readable by the owner
, however users can still see all thing
s listed at /things
regardless of whether or not they are the owner
for each child. How do I only display a subset of the children?
Asked
Active
Viewed 16 times
0

RedBassett
- 3,469
- 3
- 32
- 56
-
Instead of describing the problem please add an mvc (http://stackoverflow.com/help/mcve) showing the problem and what you already have tried – André Kool Mar 17 '16 at 08:23
-
1See http://stackoverflow.com/questions/14296625/restricting-child-field-access-with-security-rules – Frank van Puffelen Mar 17 '16 at 13:39
-
Exactly what I needed, thanks! – RedBassett Mar 17 '16 at 15:06