Creating a User List with RPCs and Setting Ticket Assignees
You’ve built a secure app with dynamic ticket functionality, but there’s room to grow – the user list UI still relies on test data, and currently, there’s no option of setting an assignee on a ticket.
This chapter aims to close these gaps by introducing a key feature of Supabase that will take your project to the next level: remote procedure calls (RPCs). We’ll dive into creating a user list fueled by real data, exploring why RPCs are the optimal choice for this task, their versatility, and how to maintain their security. By doing so, you’ll learn how the work we put into the user list streamlines the process of setting and changing ticket assignees.
This part of the journey will naturally lead you into the nuances and importance of UPDATE
RLS policies, offering you a deeper insight into the layers of security that Supabase provides and how to leverage them effectively in real...