Usually, we take a simpler approach in Bubble. For example, we might make an Option Set called User Role with two values: User and Admin. When a user signs up, we would just assign that user’s role to User. No need for searches at that stage.

I made it even simpler: In the User data type, I include a Role field, but I leave it blank. If the person is an Admin, I can change it to Admin later, otherwise I don’t put anything there. In my workflows, I only let them do admin tasks if the user’s Role is Admin.

1 Like