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

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.


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.

Then in MY EVENTS for the STAFF role (different from EVENT REQUEST), accepted events should be visible.

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


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