# Unable to add rows in a table with two columns as row owners

**URL:** <https://community.glideapps.com/t/unable-to-add-rows-in-a-table-with-two-columns-as-row-owners/68172>\
**Category:** Ask for Help\
**Created:** [November 27, 2023, 7:30pm UTC](https://community.glideapps.com/t/unable-to-add-rows-in-a-table-with-two-columns-as-row-owners/68172 "2023-11-27T19:30:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saurabh\_Kulkarni](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Saurabh\_Kulkarni](https://community.glideapps.com/u/Saurabh_Kulkarni)\
**Post date:** [November 27, 2023, 7:30pm UTC](https://community.glideapps.com/t/unable-to-add-rows-in-a-table-with-two-columns-as-row-owners/68172/1 "2023-11-27T19:30:39Z")

</div>

My glide has two roles - therapist and client. Both of them are part of the user table and client row has my\_therapist\_email as a column. I have kept both email and my\_therapist\_email as row owners so that clients can access their own rows and therapist can access all its client’s rows.

Problem is, when my therapist adds a new client using a form screen, it adds the data in the same table in a new row but it does not work with lookups, conditions and it shows blank on the front end for the same. Can anyone help me with the same? If I copy paste the same row again manually, it works fine.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 27, 2023, 11:59pm UTC](https://community.glideapps.com/t/unable-to-add-rows-in-a-table-with-two-columns-as-row-owners/68172/2 "2023-11-27T23:59:45Z")

</div>

> [@Saurabh\_Kulkarni](#):
>
> it adds the data in the same table in a new row but it does not work with lookups, conditions and it shows blank on the front end for the same

Can you show us how you’re configuring the “lookups” and “conditions”? Have you added the row owners for the new row?

---

<div class="post-metadata">

**Author:** ![Saurabh\_Kulkarni](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Saurabh\_Kulkarni](https://community.glideapps.com/u/Saurabh_Kulkarni)\
**Post date:** [November 28, 2023, 5:07am UTC](https://community.glideapps.com/t/unable-to-add-rows-in-a-table-with-two-columns-as-row-owners/68172/3 "2023-11-28T05:07:04Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/d/2d5f89f7f8a8ad7a018eb3e0834a252ccc7ce625.png)  
this is the user table

---

<div class="post-metadata">

**Author:** ![Saurabh\_Kulkarni](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Saurabh\_Kulkarni](https://community.glideapps.com/u/Saurabh_Kulkarni)\
**Post date:** [November 28, 2023, 5:09am UTC](https://community.glideapps.com/t/unable-to-add-rows-in-a-table-with-two-columns-as-row-owners/68172/4 "2023-11-28T05:09:15Z")

</div>

HK and SK were added as clients by copy pasting a new row.  
But when we added Vasu as a client through the actual app frontend, the role of “client” was assigned. Till now I wasn’t having an issue with client role being assigned (as that was the action I created already). But now client role is not assigned until I copy paste the row manually into a new row

---

<div class="post-metadata">

**Author:** ![Saurabh\_Kulkarni](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Saurabh\_Kulkarni](https://community.glideapps.com/u/Saurabh_Kulkarni)\
**Post date:** [November 28, 2023, 5:10am UTC](https://community.glideapps.com/t/unable-to-add-rows-in-a-table-with-two-columns-as-row-owners/68172/5 "2023-11-28T05:10:49Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/b/bb121c246be5b718ec57857aa3ae9ca5f676ab64.png)  
this is the lookup table where the name is not being registered as a client [quote=“Saurabh\_Kulkarni, post:4, topic:68172, full:true”]  
HK and SK were added as clients by copy pasting a new row.  
But when we added Vasu as a client through the actual app frontend, the role of “client” was assigned. Till now I wasn’t having an issue with client role being assigned (as that was the action I created already). But now client role is not assigned until I copy paste the row manually into a new row  
[/quote]

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 28, 2023, 11:17pm UTC](https://community.glideapps.com/t/unable-to-add-rows-in-a-table-with-two-columns-as-row-owners/68172/6 "2023-11-28T23:17:30Z")

</div>

Is the “Role” column contributing to a “Role” setup in your user profiles?

> **[Roles | Glide Docs](https://www.glideapps.com/docs/roles)**
>
> Define roles for your users and build different experiences and permissions.
