Hey guys, I will be glad if someone could help me put with this one. I have a Task data type which a User with Role Manager can create, the Manager can also assign the Task to a User with Role Member, I have a different Data type named Assigned Tasks because more than 30 people can be assigned to the same task.
How will I go about granting Task accesa to the Member the momemnt they are assigned the Task?
Yeah actually privacy rule is the right plug, so I’ll give you my take on this there might be better ways around it.
So I’ll assume u’ve set up your fields properly for the respective Data types (DT) and also the relationship
Task DT should have the field assigned_members → List of Users
And
assigned_task DT should have a field task→Task
So setting up the privacy rule on Task DT will be like
This Task’s assigned_members contains Current User
Then u check view all fields or according to your preference
In the workflow when u’re creating the assigned_task, make sure you “make changes to the selected task”
assigned_members add Selected User
This open the door for the selected users only
I hope this help you in a way
Thank you, I actually know about this solution, I just wanted to see if there is another way to go about it. I am specifically looking to create mant to many relationship for a lesson data type where thousands of users could register for a lesson.
Due to the recommended by Bubble of limiting lists to 30, I wanted to create a new data type for registered users, but I am unable to figure out how to give access to the lesson to registered users.
If you have thousands of people assigned for a single lesson, instead of assigning users to lessons, you can assign the lesson to the user.
Instead of the field Users - List of Users on Lessons data type.
Add, Lessons - List of Lessons on User data type.
But doing this will make it difficult to get analytics for lessons, if you plan on adding that feature.