# How to apply this logic with different user roles (urgent help needed)

**URL:** https://community.glideapps.com/t/how-to-apply-this-logic-with-different-user-roles-urgent-help-needed/74511
**Category:** Ask for Help
**Created:** [July 1, 2024, 5:28am UTC](https://community.glideapps.com/t/how-to-apply-this-logic-with-different-user-roles-urgent-help-needed/74511 "2024-07-01T05:28:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![polsze](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/polsze/32/70146_2.png) [@polsze](https://community.glideapps.com/u/polsze)
#### Post date: [July 1, 2024, 5:28am UTC](https://community.glideapps.com/t/how-to-apply-this-logic-with-different-user-roles-urgent-help-needed/74511/1 "2024-07-01T05:28:49Z")

</div>

Hi everyone, I need to know how to implement this. I have 2 roles (Event Host and Staff).

As an Event Host, when I add a STAFF USER to the EVENT, I should see a list (I have the list and data retrieval figured out) and it should say INVITE PENDING because the STAFF USER has not accepted yet.

![addstaffEventHost](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/5/3512b3003d98c70c044d6796afd920fe4f15f937.png)

Then in the event request (it works well and brings the events to which the staff user was invited), when I enter the event details, I should have a button to accept the invitation to the event.  
 ![eventrequest](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/7/7785d5d8442768d0cd6f803f979da74289919d9b.png)

Then in MY EVENTS for the STAFF role (different from EVENT REQUEST), accepted events should be visible.  
 ![myeventStaff](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/1/8143575cfbf80b9826c99f240450d72fe429f20a.png)

Finally, the MY EVENTS view for the EVENT HOST user should display only the STAFF users who have accepted the event.

 ![staffEventHost](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/c/9c1098cfb38bc5b9c29c7273a618f9db101de196.png)

---

<div class="post-metadata">

### Author: ![polsze](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/polsze/32/70146_2.png) [@polsze](https://community.glideapps.com/u/polsze)
#### Post date: [July 1, 2024, 10:43am UTC](https://community.glideapps.com/t/how-to-apply-this-logic-with-different-user-roles-urgent-help-needed/74511/2 "2024-07-01T10:43:13Z")

</div>

up!!

---

<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: [July 1, 2024, 1:46pm UTC](https://community.glideapps.com/t/how-to-apply-this-logic-with-different-user-roles-urgent-help-needed/74511/3 "2024-07-01T13:46:49Z")

</div>

Please don’t spam your thread by commenting like above. Repeated actions like that will get you a ban.
