I'm trying to write chat functionality using firebase. the data structure would be similar to this: https://docs-examples.firebaseio.com/web/data
It's unclear to me that if I want to observer for new messages added to any of the rooms under data/messages/{room_id}, is it possible to call Firebase.observeEventType on just "data/messages" if I have security rules user can only read messages for rooms he is in. Or do I need to call observeEventType repeatedly for each data/messages/{room_id} for which he has access to.