# Allowing users to add a row owner

**URL:** <https://community.glideapps.com/t/allowing-users-to-add-a-row-owner/72515>\
**Category:** Ask for Help\
**Created:** [April 12, 2024, 10:56am UTC](https://community.glideapps.com/t/allowing-users-to-add-a-row-owner/72515 "2024-04-12T10:56:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [April 12, 2024, 10:56am UTC](https://community.glideapps.com/t/allowing-users-to-add-a-row-owner/72515/1 "2024-04-12T10:56:48Z")

</div>

I have a table with an email column set as the row owner.

I want the user to be able to add a guest to a second column that is also set as the row owner.

Will that work? Or can this only be configured via the **data editor**?

### Example

Customers table has a customer email and guest email fields.  
However, in the cars table there is a relation to the customers table based on the customer email (Christina in my screenshot). Then I use a lookup to get the guest email (bobby in my screenshot). However, I cannot set that column as a row owner.

 ![Screenshot 2024-04-12 at 21.00.49](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/b/6b10c5dc2c6cc8cd7e34ddabdf3394ab4a4973de.png)

---

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [April 12, 2024, 11:13am UTC](https://community.glideapps.com/t/allowing-users-to-add-a-row-owner/72515/2 "2024-04-12T11:13:49Z")

</div>

[This post](https://community.glideapps.com/t/row-owners-array-help/63970/11) might have part of the answer but not 100% sure how to apply it.

Data structure is:  
Users \> Cars

I want to add a guest (another user) who has access to the same cars as User.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [April 12, 2024, 11:50am UTC](https://community.glideapps.com/t/allowing-users-to-add-a-row-owner/72515/3 "2024-04-12T11:50:18Z")

</div>

It will work, but you can’t use a computed column as a row owner.  
So the guest email will need to be written to a non-computed column, and that column can be a row owner.

---

<div class="post-metadata">

**Author:** ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)\
**Post date:** [April 12, 2024, 12:40pm UTC](https://community.glideapps.com/t/allowing-users-to-add-a-row-owner/72515/4 "2024-04-12T12:40:02Z")

</div>

What if I want to add the row owner to multiple tables?

Conceptually I want a user to add a guest to their account (by updating a row owner column in the users table) and then that guest to access everything the user can access.

I thought of having a second role called “guest-[rowid of user]”/

not sure if that will work.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [April 12, 2024, 2:21pm UTC](https://community.glideapps.com/t/allowing-users-to-add-a-row-owner/72515/5 "2024-04-12T14:21:54Z")

</div>

> [@blairrorani](#):
>
> What if I want to add the row owner to multiple tables?

Yes, you can do that.

> [@blairrorani](#):
>
> I thought of having a second role called “guest-[rowid of user]”/
> 
> not sure if that will work.

This is a different kettle of fish. You can pretty much do whatever you want with Row Owners when adding rows, but users cannot add or modify the _roles_ of other users. The only way you could get that to work would be using the Glide API.
