1 simple way to setup user roles [ in your app ]


What might be nicer too is if your DB had a list of approved admin/regular user emails. this way you could look into the db for your email and if present set the role as such.

it should be noted, although this is an easy way to set things up, it’s not 100% secure necessarily.

Xano also offers great ways to handle user Roles on the backend instead of the frontend as shown here.