Giving access to app to "users" in another table?

Good day Gliders. I have 2 sets of “people” in my charter app - the Users (parents of the children using the service, who do the bookings) and the Children themselves (passengers on the bus.)

Currently only the Users obviously have access to the app but there has been some interest from the kids to allow them access. I would like that too, so that they can update their personal details, school and hostel info, see the bus schedules etc. Maybe do their own bookings ‘cause parents sometimes forget…

So I added 2 kids to the Users table with Role=Passenger. It works fine but that means duplicating every name in Children table. Is this the only way or is there a workaround to automatically let them see whatever is needed?

Regards to all.

Hi Paarl, i think the correct way to do it is to allow the “emails” from the children’s table to also be added into the users table.. Without the child’s email being in the user’s table.. there’s no way for them to see their own user specific data, edit profile etc

what you can do.. is simply have a button for the children’s collection. when that button is clciked, a row is automatically added with the child’s name, email image and role into the user’s table.

hope this helps :slight_smile:

Thanks @Swift_Struck_24 ! That is an easy and elegant solution.

1 Like