Building an application that consists in that each user can create different workspaces and invite different members with email

TO

Hi all guys, but I need your help.
I am currently building an application that consists in that each user can create different workspaces and invite different members with email.
Example. User # 1 invites User # 2, User # 3, and User # 4 to her workspace.
Each user can be assigned a Role.
User # 1 has super administrator role
User # 2 has a client role
User # 3 basic user role
User # 4 user manager
Each role has its own restrictions in the workspace.

The problem I have is that if user # 2 creates her workspace and invites user # 1, user # 3 and user # 4 and assigns them different roles.

I can’t find how to associate the roles by workspaces by user.

Someone could guide me which would be the way to go.

I apologize for the English.

Hi there @andaoncsi,

Welcome to the Bubble Community!

You can create a new data type called “Workspace” and add different properties you want for your workspace as fields, but also add one that’s a list of users that’s called Super Admin, Client, Basic User, User Manager, etc and then when you assign users to that role it just add the user to the list of users (if that makes sense)…

let me know if you need more clarification…