# Allow only signed in users to posts

**URL:** <https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286>\
**Category:** Ask for Help\
**Created:** [March 8, 2020, 7:41pm UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286 "2020-03-08T19:41:26Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spleenr\_Spleenr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spleenr_spleenr/32/971_2.png) [@Spleenr\_Spleenr](https://community.glideapps.com/u/Spleenr_Spleenr)\
**Post date:** [March 8, 2020, 7:41pm UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/1 "2020-03-08T19:41:26Z")

</div>

Hi there,

Once again a question on the already amazing tutorial on the Instagram look alike.

In this tutorial there is an explanation on how to sign in users. However they can add posts without being logged. Is there any trick to make the user sign in before he could use the app and submit a post?

Thanks in advance,  
Jérémy

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [March 8, 2020, 7:47pm UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/2 "2020-03-08T19:47:28Z")

</div>

Yes, you can now add conditions to the Add button.

---

<div class="post-metadata">

**Author:** ![Spleenr\_Spleenr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spleenr_spleenr/32/971_2.png) [@Spleenr\_Spleenr](https://community.glideapps.com/u/Spleenr_Spleenr)\
**Post date:** [March 10, 2020, 12:34am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/3 "2020-03-10T00:34:55Z")

</div>

Yes but I can’t figure out how to because :

- The button to add a post is on the “feed” tab and linked to a “Blank” sheet
- The button to sign in is on the “profile” tab and linked to a “Profile” sheet

As far as understand it is possible to condition the visibility of the add button according to what happens in the “Blank” tab. However is it possible to link both, i.e. when something happens in the “Profile” tab (name and pic uploaded) then the add button appears on the “Feed” tab?

Any guess is appreciated,  
Warm regards,  
Jérémy

---

<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:** [March 10, 2020, 12:55am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/4 "2020-03-10T00:55:40Z")

</div>

1. Add a template column to the Blank Tab sheet with a value that says ‘Profile’
2. Add an identical template column to the Profile sheet with the same value of ‘Profile’
3. Create a relation column in the Blank Tab sheet that links the Profile columns together in both sheets
4. Create a lookup column in the Blank Tab sheet that gets the email address from the relation.
5. Set visibility on the button to show when when the lookup column is signed in user.

---

<div class="post-metadata">

**Author:** ![Spleenr\_Spleenr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spleenr_spleenr/32/971_2.png) [@Spleenr\_Spleenr](https://community.glideapps.com/u/Spleenr_Spleenr)\
**Post date:** [March 10, 2020, 12:58am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/5 "2020-03-10T00:58:31Z")

</div>

Thanks a lot for your help Jeff.

Edit: Actually, it seems not to be working for me.  
Is this what I should have?  
 ![Capture d’écran 2020-03-10 à 02.50.24](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/9/909301ef682c367216f69d70524dec0cb22c98a7.png)

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 10, 2020, 1:57am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/6 "2020-03-10T01:57:01Z")

</div>

I feel like we’ve answered this a dozen times on this forum…is this a needed “template” or should we wait for feature upgrade?

---

<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:** [March 10, 2020, 2:19am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/7 "2020-03-10T02:19:08Z")

</div>

Should look like this:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/8/801b8e2d8a765fa5aaa4bfaa4ca34362231cf2a9.png)

Is your lookup returning values in the data tab?

---

<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:** [March 10, 2020, 2:21am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/8 "2020-03-10T02:21:52Z")

</div>

I think they are working on some profile features, so maybe that will provide better functionality. I think most of my answers have been regarding the same 5 or 10 questions. 😉 Template or not, I’m sure it will be asked again.

---

<div class="post-metadata">

**Author:** ![Spleenr\_Spleenr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spleenr_spleenr/32/971_2.png) [@Spleenr\_Spleenr](https://community.glideapps.com/u/Spleenr_Spleenr)\
**Post date:** [March 16, 2020, 8:45am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/9 "2020-03-16T08:45:56Z")

</div>

Hi Jeff,

Sorry to bother again but I’m still not able to make it.

Indeed the look up is not returning values.

 ![Capture d’écran 2020-03-15 à 20.04.02](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/b/ba5a15096eda74d67e3c9492fa9a7a9dc8c35019.png)

---

<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:** [March 16, 2020, 11:52am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/10 "2020-03-16T11:52:42Z")

</div>

What do your relation and lookup columns look like in the data tab? Should figure that out first. Glide will only show the sign in option under visibility once it recognizes that that your column has emails in it.

---

<div class="post-metadata">

**Author:** ![Spleenr\_Spleenr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spleenr_spleenr/32/971_2.png) [@Spleenr\_Spleenr](https://community.glideapps.com/u/Spleenr_Spleenr)\
**Post date:** [March 16, 2020, 2:36pm UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/11 "2020-03-16T14:36:56Z")

</div>

Here is a look of the three columns

 ![Capture d’écran 2020-03-16 à 15.32.11](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/d/dc894bd7572346a63015a7c9ec25ad678b968866.jpeg)

---

<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:** [March 17, 2020, 3:38am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/12 "2020-03-17T03:38:10Z")

</div>

Is your template column empty??? From what I can see, it seems like you are setting everything up correctly, but make sure both of your template columns have values that match. I would also check the multiple box in the relation.

---

<div class="post-metadata">

**Author:** ![Spleenr\_Spleenr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spleenr_spleenr/32/971_2.png) [@Spleenr\_Spleenr](https://community.glideapps.com/u/Spleenr_Spleenr)\
**Post date:** [March 17, 2020, 8:59am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/13 "2020-03-17T08:59:26Z")

</div>

Indeed, the template column in the “Profile” tab would display “Profile” but the template column in the “Blank” tab won’t fill.  
The button won’t show up neither when the user has his profile set up

See below the profile tab

 ![Capture d’écran 2020-03-17 à 09.58.57](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/4/45a3c48e0bbb5ed9d1114f04c0f770b89d19df7c.png)

---

<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:** [March 18, 2020, 3:09am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/14 "2020-03-18T03:09:17Z")

</div>

I think I’m going to need to see more screenshots or a version of the app that I can copy. Everything seems fine and this should be relatively easy, but there is something missing that I’m not seeing.

---

<div class="post-metadata">

**Author:** ![Spleenr\_Spleenr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spleenr_spleenr/32/971_2.png) [@Spleenr\_Spleenr](https://community.glideapps.com/u/Spleenr_Spleenr)\
**Post date:** [March 18, 2020, 9:55pm UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/15 "2020-03-18T21:55:38Z")

</div>

Sure here is the link of a copy of the app [yqkiy.glideapp.io](http://yqkiy.glideapp.io)  
I allowed to copy the app as a template I hope it will work just as needed.  
Thank you for the follow-ups

---

<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:** [March 19, 2020, 3:16am UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/16 "2020-03-19T03:16:14Z")

</div>

OK, now I understand why your template and everything else was blank. You just need to add a record in the Blank sheet. Doesn’t really matter what you put in cell A2, but you need to have something. Than will make your template/relation/lookup work. Then you can add a Visibility condition to only show the button when the lookup column is signed in user.

---

<div class="post-metadata">

**Author:** ![Spleenr\_Spleenr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spleenr_spleenr/32/971_2.png) [@Spleenr\_Spleenr](https://community.glideapps.com/u/Spleenr_Spleenr)\
**Post date:** [March 19, 2020, 6:37pm UTC](https://community.glideapps.com/t/allow-only-signed-in-users-to-posts/5286/17 "2020-03-19T18:37:04Z")

</div>

It is finally working just as wanted. Thank you again for your help I would never have guessed this one.
