# Securing data by row owner / user type

**URL:** https://community.glideapps.com/t/securing-data-by-row-owner-user-type/54619
**Category:** Ask for Help
**Created:** [November 21, 2022, 1:34pm UTC](https://community.glideapps.com/t/securing-data-by-row-owner-user-type/54619 "2022-11-21T13:34:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jac\_Evans](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jac_evans/32/3476_2.png) [@Jac\_Evans](https://community.glideapps.com/u/Jac_Evans)
#### Post date: [November 21, 2022, 1:34pm UTC](https://community.glideapps.com/t/securing-data-by-row-owner-user-type/54619/1 "2022-11-21T13:34:07Z")

</div>

I have 2 user types in my pages app and I would like each user to only see a “thing” if they are a row owner.

The thing has a create by email address and a used by email address - I then link each of these to a User via a relationship field. I set the email address fields to row owner.

How do i set the data to only be visible to people listed as a created by or used by row owner?  
How do i set add/edit/delete permissions for each of the types of owner?

I cant find any docs on this - the ones i found are for mobile apps and im not getting the options they show. If I have missed the docs or there are some videos explaining this i would appreciate it - thanks!

Thanks!

---

<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: [November 21, 2022, 1:58pm UTC](https://community.glideapps.com/t/securing-data-by-row-owner-user-type/54619/2 "2022-11-21T13:58:29Z")

</div>

> [@Jac\_Evans](#):
>
> How do i set the data to only be visible to people listed as a created by or used by row owner?

With the setup as you’ve described it, you should already have that. With Row Owners applied, each users device will only download those rows for which the user is an owner.

> [@Jac\_Evans](#):
>
> How do i set add/edit/delete permissions for each of the types of owner?

You can do this by setting conditions on your Add/Edit/Delete actions.

> **[Conditions, Filtering, and Visibility | Glide Docs](https://www.glideapps.com/docs/use-cases/conditions-filtering-and-visibility)**
>
> Limit the content displayed in your apps.

> [@Jac\_Evans](#):
>
> I cant find any docs on this - the ones i found are for mobile apps and im not getting the options they show.

In this case, the docs apply equally to Apps and Pages.

---

<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 21, 2022, 11:45pm UTC](https://community.glideapps.com/t/securing-data-by-row-owner-user-type/54619/3 "2022-11-21T23:45:58Z")

</div>

> [@Jac\_Evans](#):
>
> How do i set the data to only be visible to people listed as a created by or used by row owner?

Do you mean multiple people can be listed as “used by”?

---

<div class="post-metadata">

### Author: ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)
#### Post date: [November 21, 2022, 11:51pm UTC](https://community.glideapps.com/t/securing-data-by-row-owner-user-type/54619/4 "2022-11-21T23:51:32Z")

</div>

add another row owner column
