Hello glide community,
I’ve been building a CRM tool which is mostly used to manage leads and projects that result from them. At first I’ve only been using the tool for internal purposes, but now I’ve added the ability to let external affiliates see leads they’ve referred and projects that came out of their referrals.
I’m now in a tricky situation where I need those external users to see 90% of the information that’s stored with projects, since it’s relevant for their tracking needs, as well as commission payments. However, the projects table also contains information about production cost, margins and other internal notes.
How can I make the project data available to some users without risking them having access to sensitive project data?
I’ve tried using relations. For example, I’ve added a “Number of projects” column to the leads table. It calculates the number correctly, however since an external user isn’t a row owner of any of the rows in the projects table, it always shows 0 to those users. Is there a way to fix that?