# Edit rights based on a value in User profile

**URL:** <https://community.glideapps.com/t/edit-rights-based-on-a-value-in-user-profile/8493>\
**Category:** Ask for Help\
**Created:** [May 5, 2020, 9:58am UTC](https://community.glideapps.com/t/edit-rights-based-on-a-value-in-user-profile/8493 "2020-05-05T09:58:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anke\_Herrmann](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/anke_herrmann/32/5348_2.png) [@Anke\_Herrmann](https://community.glideapps.com/u/Anke_Herrmann)\
**Post date:** [May 5, 2020, 9:58am UTC](https://community.glideapps.com/t/edit-rights-based-on-a-value-in-user-profile/8493/1 "2020-05-05T09:58:34Z")

</div>

In my app I have a user profile table with a column that determines a user’s edit rights/roles.

The object to be edited has no column that can be used to create a relation, e.g. an Event with Name, Date, Description. I want the edit option to be available if the signed-in user has CanEdit = TRUE (defined in the UserProfile table)

I get the sense this should be simple to implement. What am I missing?

Also, is there a way to express nested conditions, can edit if ConditionA OR (ConditionB AND ConditionC)?

Thank you!

---

<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:** [May 5, 2020, 10:56am UTC](https://community.glideapps.com/t/edit-rights-based-on-a-value-in-user-profile/8493/2 "2020-05-05T10:56:52Z")

</div>

This should help!

> [@Insert User Data ANYWHERE in your App!](https://community.glideapps.com/t/insert-user-data-anywhere-in-your-app/8460):
>
> Saw these in the Glide data editor for the first time today. Both EXTREMELY helpful: 1. Probably not new, but it’s the first time I had to use it: Rollup \> Count True Use Case: Getting count if true to divide by total to establish a % complete. [Screen Shot 2020-05-04 at 1.38.00 PM] 2. Definitely new: Getting User Profile Data in the Template Column! Use Case: Too many to count! Bring in User Profile Data into ANY tab!!! This is now the best way to achieve all that has been mentioned in th…

---

<div class="post-metadata">

**Author:** ![Anke\_Herrmann](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/anke_herrmann/32/5348_2.png) [@Anke\_Herrmann](https://community.glideapps.com/u/Anke_Herrmann)\
**Post date:** [May 5, 2020, 3:07pm UTC](https://community.glideapps.com/t/edit-rights-based-on-a-value-in-user-profile/8493/3 "2020-05-05T15:07:55Z")

</div>

You’re a star! Thank you! I’d missed the part where I had to connect the current user to a table …

---

<div class="post-metadata">

**Author:** ![Cisco\_Muratalla](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/cisco_muratalla/32/12358_2.png) [@Cisco\_Muratalla](https://community.glideapps.com/u/Cisco_Muratalla)\
**Post date:** [February 24, 2021, 10:35pm UTC](https://community.glideapps.com/t/edit-rights-based-on-a-value-in-user-profile/8493/4 "2021-02-24T22:35:28Z")

</div>

Topic moved to Help & How To

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 17, 2024, 4:53pm UTC](https://community.glideapps.com/t/edit-rights-based-on-a-value-in-user-profile/8493/5 "2024-01-17T16:53:13Z")

</div>


