HosenurOriginal post
@everyone
Let's say I am making an app where I need multiple user types like Admin and User
Summary
To handle custom roles in your app, you can follow these steps:
1. Add the user into teams using the Appwrite API. You can refer to the documentation for more details on how to do this.
2. Choose one of two approaches:
a) Create separate teams for each role. This way, you can assign different teams to users based on their roles.
b) Within a team, create different level roles. Use the Appwrite API to update membership roles for each user.
For example, if you need Admin and User roles in your app, you can create separate teams for each role or create roles within a single