I’m currently having an issue with deciding how to structure my app. I found below mentioned documentation from @NigelG on the Forum, but I don’t understand it completely, so therefore I opened this topic.
In the below mentioned topic there is a unique link between an Employee and a Project and how to adress this matter in Bubble. However, I have some issues with setting up the structure with my databse. So here I’ll explain what I am aiming:
Employees
Alice
Bob
Claire
Projects
BigProject
LittleProject
1)Create Assignment - Alice + BigProject
And then we add
2) “Alice + BigProject” Assignment to Alice’s list of Assignments
3) “Alice + BigProject” Assignment to BigProject’s list of Assignments
Fair enough, but let’s say I have three roles types which are possible within an assignment.
The roles are “manager”, general member", “client member”
The aim is that, depending of the role the user has within each assignments, he/ she is allowed to modify things.
So, how to set this up?
Employees
Alice
Bob
Claire
Projects
BigProject
LittleProject
And then we add
2) “Alice + BigProject” Assignment to Alice’s list of Assignments
3) “Alice + BigProject” Assignment to BigProject’s list of Assignments
QUESTION
How can I adress the roles to the Assignment, where the aim is that Employees can have different roles in each assignment (Example: Alice is manager of Big Project, and client member on LittleProject.
Is the solution to setup the app like:
Assignment
General member: List of Employees
Project: Project
Manager: List of employees?
Client member: list of Employees?
However, when I structure my app like this, I don’t understand how to create a repeating group with just ‘all’ the users (Irrespective of their role). That’s because the repeating group will request that it will be either a list of general members, or managers of client members…?