# Trying to build a referral system

**URL:** https://community.glideapps.com/t/trying-to-build-a-referral-system/9043
**Category:** Ask for Help
**Created:** [May 13, 2020, 8:53am UTC](https://community.glideapps.com/t/trying-to-build-a-referral-system/9043 "2020-05-13T08:53:23Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [May 15, 2020, 4:57am UTC](https://community.glideapps.com/t/trying-to-build-a-referral-system/9043/4 "2020-05-15T04:57:09Z")

</div>

A thought for Visibility is to use user profiles like I described, but just check if email is empty or not from the user profile. It should only be filled if the user is signed in, so there is no need to check ‘is signed in user’ when you can simply check if the user profile email is filled.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/9/935fe7a530ab82278a901a0a237052747512ab05.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/0/07a31e062de531dbc7395868a4fe2492870aa055.png)

Another thought to work around filters is you could probably set up your tabs in detail view, then on the sheet you are using for each tab, add a template column that gets the email from the user profile and uses it to build your relations to the relevant data using email for the relation, so you wouldn’t have to worry about setting filters by signed in user and could keep the app public.

You may have also seen this already as a hack to get around the signed in user issue on public apps, but it’s not the best solution.

> [@Create public and private version of app for admin](https://community.glideapps.com/t/create-public-and-private-version-of-app-for-admin/1103/14):
>
> So here’s the thing. There is a way to do this, but it doesn’t appear to be officially supported so I try to avoid suggesting it. If you set your app to public with email, then you can apply any settings that require ‘signed in user’. Then if you change your app back to public, it will be publicly accessible, but you can sign in via the side menu and the ‘signed in user’ parts should work as set up. The only thing is, you have to change your privacy setting any time you want to add per user …

However, I think the first 2 solutions may be something that would work better. I haven’t them yet other than a brief test, but it might work and it’s something that I will definitely have to try in one of my apps.

Any of these solutions should keep your app public. The third hack option does work, but I don’t know if it would work forever and any time you would want to add something like a filter that requires signed in user, you would have to change the apps privacy setting each time just to make the change.

---

_[View the full topic](https://community.glideapps.com/t/trying-to-build-a-referral-system/9043)._
