With the privacy rules, some roles are defined in the application. Users with these roles can only access data they are allowed to access.
Privacy Rules
- Conversation → The conversation’s participants can see the all data about the conversation. But everyone else can see nothing.
- Group Chat Details → Only the authors of the group can see all the data of the “Group Chat Details”. Everyone else only can see the name and image of the group.
- Messages → The sender or the receiver of the message can see the data. Everyone else can see nothing.
- User → All the users are allowed to auto binding their profile photos. Everyone else can see all the user’s image, name, and surname.