Hello! I’m new to Bubble (I just started yesterday). I have a basic understanding of how a few things work, but here is my problem.
Problem: My users will need to be restricted by both Company and the site within the company. For example, John smith is the supervisor of Building A. He should only see users at Building A.
What is the easiest way to do set this restriction? I didn’t want to list out every site individually in the database as a separate user field.
Then is searches and/or filters you can add constraints based on the Current User Location.
You can also use the Privacy tab to protect the data at its source – the following would mean that the Current User of your app, will only have access to other User records that have the same location. I can also see you having Roles that further restrict. However you might want to put that off until you have worked with Bubble a bit longer.
You are doing the right thing by jumping right in, but you’ll really be better in the long-haul if you take a look at those resources noted above as the basics are needed as a solid foundation!
Thanks for the help! I’m going to try that tonight! I’ll admit you are right. I spent the entire morning going through some basic guides and videos. I have a better understanding, but your explanation will help me immensely!