companies to make sure that companies can only see their own data. In this example, companies has many departments, departments has many users. The company id is not in users table but in the departments table. We want to scope users according to a company value.
Step 1: Create a smart field and the filter for the users table
Step 2: Configure the scope in the UI
In project settings:.png?fit=max&auto=format&n=UDnqA5TqR2qMKTU8&q=85&s=391e5ea057acd5fe81857d064097ef9b)
users
.png?fit=max&auto=format&n=UDnqA5TqR2qMKTU8&q=85&s=5bc4f233c31c28fdbb407c067f89c47c)