How do I handle Admin and Standard users

This may seem like an easy answer, but I’m still learning. Since I’m having trouble getting Xano to create the correct roles for the user when using the starter template, how do I get weweb to allow the admins to make other admins or to essentially promote or demote other members? I’m sure I’d need some kind of super-admin, but how would the workflow go for them to make others into admins?

Thanks.

Build a roles table in Xano and associate it with the users table. Create an add-on in the auth/me endpoint and then WeWeb will see it in the Xano auth endpoint in which you’ll be able to filter pages based on role.

I’m a WeWeb/Xano coach so let me know if you have any questions. Just DM me.

1 Like

Thank you. Will do. :+1: