# Row Owners Shared Between Glide Tables

**URL:** <https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160>\
**Category:** Ask for Help\
**Created:** [April 29, 2023, 10:51am UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160 "2023-04-29T10:51:21Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmmarNOva](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ammarnova/32/54520_2.png) [@AmmarNOva](https://community.glideapps.com/u/AmmarNOva)\
**Post date:** [April 29, 2023, 10:51am UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/1 "2023-04-29T10:51:21Z")

</div>

Hey Gliders

Quick question on a workaround for row owners in Glide Tables, seeing as you can’t use computed columns.

- I have Users - with emails.

- Those users have things. I have a relation between the two, and a look up that pulls user email into Things table (but can’t use this as a row owner)

- Things can be created by Users or admins

A user has about 9 or so linked tables, so would need to keep e-mail for that user in sync across all things they own.

How would you go about this? It’s a head scratcher.

---

<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 29, 2023, 10:58am UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/2 "2023-04-29T10:58:22Z")

</div>

You need a (non-computed) owner column in every table. In terms of populating that, you can add the Users Email address as a Special Value when a User adds a thing.

> **[Glide • User's email address](https://www.glideapps.com/docs/reference/values/users-email-address)**
>
> Submit the user's email address automatically.

---

<div class="post-metadata">

**Author:** ![AmmarNOva](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ammarnova/32/54520_2.png) [@AmmarNOva](https://community.glideapps.com/u/AmmarNOva)\
**Post date:** [April 29, 2023, 10:59am UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/3 "2023-04-29T10:59:28Z")

</div>

If a user was to change their e-mail address, would this not break everything? as it would be out of date?

---

<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 29, 2023, 11:01am UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/4 "2023-04-29T11:01:39Z")

</div>

Indeed, if a users email address was changed then you would need to update all their owned rows in all tables, otherwise they would lose access to those rows.

Is this something that’s likely to happen very often?

---

<div class="post-metadata">

**Author:** ![AmmarNOva](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ammarnova/32/54520_2.png) [@AmmarNOva](https://community.glideapps.com/u/AmmarNOva)\
**Post date:** [April 29, 2023, 11:02am UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/5 "2023-04-29T11:02:50Z")

</div>

It’s fairly likely to happen as our users belong to an organisation, and the primary user can change as people move in and out of roles

---

<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 29, 2023, 11:08am UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/6 "2023-04-29T11:08:21Z")

</div>

Okay. So it’s not that users will actually change their email address, but rather that you may want to change which users have access to certain data - yes?

If that’s the case, then the best solution will be to use Roles as Row Owners. With this, you define a Role (lets say Admin, for the sake of example), and then you can assign that role to one or more users. Then instead of adding a users email address as the row owner in your Things tables, you add the word “Admin”. Then every user with that role will have access to those rows.

If one of your Admin users changes, you simply remove the role from that user and assign it to another.

> **[Glide • Roles](https://www.glideapps.com/docs/reference/security-and-user-data/roles)**
>
> Define roles for your users and build different expereriences and permissions for those groups.

---

<div class="post-metadata">

**Author:** ![AmmarNOva](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ammarnova/32/54520_2.png) [@AmmarNOva](https://community.glideapps.com/u/AmmarNOva)\
**Post date:** [April 29, 2023, 11:10am UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/7 "2023-04-29T11:10:21Z")

</div>

So just to understand - I could use the Client Name as a role, and assign that as a row owner. Any user with that Client name as role could see the content?

Also on this note - we have 3 apps all sharing the same data.

One for internal staff, one for clients, and one for field staff. Would you recommend building all within one app using roles and permissions to segment things off from each other? or 3 separate apps?

All use same data but apps have different workflows and data access levels

---

<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 29, 2023, 11:31am UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/8 "2023-04-29T11:31:03Z")

</div>

> [@AmmarNOva](#):
>
> So just to understand - I could use the Client Name as a role, and assign that as a row owner. Any user with that Client name as role could see the content?

Yep, that’s exactly right, and that’s a classic use case for Roles.

Just one word of caution. If you need to assign more than one role to any user, then you won’t be able to do that with Glide tables. This is because in order to assign multiple roles, you need a non-computed array column, and there is no way to create that in a Glide Table. So you’d need to use a Google Sheet (or Excel/AirTable) for your Users table.

> [@AmmarNOva](#):
>
> One for internal staff, one for clients, and one for field staff. Would you recommend building all within one app using roles and permissions to segment things off from each other? or 3 separate apps?

That’s really up to you - either way can work.  
Personally I prefer the multi-app approach. This comes from experience. I started off by building one big mega-app for the company I work for. After a while it became way too big and complex, and was very difficult to maintain and manage. And it also started to bog down for the users. I’ve since split it into six separate Apps (all sharing the same data source), and it’s much easier to maintain.

But YMMV. I’d recommend at least creating a separate client app, as I’d imagine their user interface will probably be significantly different to that of your internal users.

---

<div class="post-metadata">

**Author:** ![AmmarNOva](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ammarnova/32/54520_2.png) [@AmmarNOva](https://community.glideapps.com/u/AmmarNOva)\
**Post date:** [April 29, 2023, 11:42am UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/9 "2023-04-29T11:42:39Z")

</div>

Thank you Darren.

Very insightful and helpful as always. Really appreciate it.

---

<div class="post-metadata">

**Author:** ![Hobe](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hobe/32/55866_2.png) [@Hobe](https://community.glideapps.com/u/Hobe)\
**Post date:** [April 29, 2023, 2:25pm UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/10 "2023-04-29T14:25:25Z")

</div>

Could I use an excel table as a data source for 3 different applications? or would this only work on glide tables?

---

<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 29, 2023, 2:26pm UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/11 "2023-04-29T14:26:15Z")

</div>

Yes.

---

<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:** [April 30, 2023, 2:26pm UTC](https://community.glideapps.com/t/row-owners-shared-between-glide-tables/61160/12 "2023-04-30T14:26:52Z")

</div>

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