# Editable Template

**URL:** <https://community.glideapps.com/t/editable-template/71376>\
**Category:** Ask for Help\
**Created:** [March 3, 2024, 8:09pm UTC](https://community.glideapps.com/t/editable-template/71376 "2024-03-03T20:09:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jenny1](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@Jenny1](https://community.glideapps.com/u/Jenny1)\
**Post date:** [March 3, 2024, 8:09pm UTC](https://community.glideapps.com/t/editable-template/71376/1 "2024-03-03T20:09:36Z")

</div>

I am creating a template in which signed-in users are able to edit text but the edit option is only available to signed in users. The content of the text is available to the public. I am not sure how to do this.

---

<div class="post-metadata">

**Author:** ![Sean\_O\_Sullivan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sean_o_sullivan/32/71802_2.png) [@Sean\_O\_Sullivan](https://community.glideapps.com/u/Sean_O_Sullivan)\
**Post date:** [March 3, 2024, 9:21pm UTC](https://community.glideapps.com/t/editable-template/71376/2 "2024-03-03T21:21:36Z")

</div>

I think how you implement it depends on where/how you are trying to do it. Taking a card collection as an example you could set it like in the image below (and you could set the same condition for editing):

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/c/6cec855f959221708f02224b414921cf0623bb3f.jpeg)

Some documentation from Glide that may help you are linked below.  
[Visibility Conditions | Glide Docs (glideapps.com)](https://www.glideapps.com/docs/reference/user-experience/visibility-conditions)  
[Roles | Glide Docs (glideapps.com)](https://www.glideapps.com/docs/essentials/security-and-user-data/roles)

And if you have time I highly recommend the below YouTube channel from @Robert_Petitto, his guides helped me quickly understand many Glide concepts.  
[Robert Petitto - YouTube](https://www.youtube.com/c/RobertPetittoWA/videos)

---

<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 3, 2024, 10:00pm UTC](https://community.glideapps.com/t/editable-template/71376/3 "2024-03-03T22:00:49Z")

</div>

🫶🏼 Thanks for the shout out!

---

<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 3, 2024, 11:56pm UTC](https://community.glideapps.com/t/editable-template/71376/4 "2024-03-03T23:56:31Z")

</div>

Another option if you don’t want to rely on Roles, is to simply add a condition that checks if the user profile email is not empty. When a user is signed in, the user profile will be linked to their user row, which should always have an email. If a user is not signed in, the user profile email will be empty because there is no user row to link to, and will prevent the edit option from showing.

---

<div class="post-metadata">

**Author:** ![Jenny1](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@Jenny1](https://community.glideapps.com/u/Jenny1)\
**Post date:** [March 6, 2024, 8:50pm UTC](https://community.glideapps.com/t/editable-template/71376/5 "2024-03-06T20:50:16Z")

</div>

Thank you. This solution worked for me.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [March 13, 2024, 8:50pm UTC](https://community.glideapps.com/t/editable-template/71376/6 "2024-03-13T20:50:26Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
