Team Chatroom Creation

I have a basketball team app for parents with different teams. I need team specific chatroom. Parents shouldnt be able to create a chatroom ro initiate a one on one chat.

Path: Home > Team > Chat> Chatroom

If there’s anyway my parents can access the Chatroom from Home that would be great.

1st database structure:

you should have the parents as users have only one team in relationship between the collections (one team multiple users)

each team has at least one chat, (you should create the chat with the creation of a team, this way any new parent entering for the first time will immediately see the chat button)

the rest of the messages relationship to the chat collection is as usual

Now how to make it work from home screen:

put a chat button on the home screen, make it a list of teams, filter = team that contains the parrents as users, link to a chat screen, the screen would display a listt of messages, filter= message -->chat → team ID= current teamID

have fun with Adalo

Use each Team as the conversation scope, then create one Chat record for that team and relate every Message to the Chat. Parents should only open the chat connected to their own team, and the app should create team chats through an admin workflow rather than exposing chat creation to parents.

  1. Relate each User to the Team they belong to.
  2. Relate each Team to one Chat record.
  3. Relate each Message to its Chat and sender.
  4. On Home, show a chat button only when the logged-in user belongs to a Team.
  5. Link that button through the logged-in user’s Team to its Chat screen.
  6. Filter the message list to messages whose Chat equals the current Chat.

Remove chat creation and one-to-one messaging actions from parent-facing screens. Also enforce the same ownership rules in Collection Permissions so hiding a button is not the only access control.

Test with parents from two different teams and confirm that neither user can open or query the other team’s messages.

Full walkthrough, testing checklist, and troubleshooting: Add event attendees to a shared chat in Adalo