
Hi! In my project, I need only some users to be able to create teams How can I set permissions for user? Thank you

How can I set permissions for user?
You mean how do you restrict it so that only some users can create teams?

Yes

I think I can restrict by permissions, like create permission [teams.read] for users

I would disable the teams service. This prevents end users from creating teams. Then, I would expose a function to create the team. Only select users would have access to execute the function

@Steven Thank you!

[ SOLVED ] How createPermissions for new user?
Recommended threads
- Error
I'm trying to get sellerId using account.get() in my appwrite function and this is the error message I'm getting: "Failed to send notification to seller 6865bf...
- Is there a timeframe for updating dart r...
Dart 3.5 is already one year old, and the following versions have introduced very important features for the language. Is there a roadmap or timeframe for when...
- list() is very slow; eventually shows no...
When I use the web browser to view the collections in my database, the documents they contain are normally displayed within a few seconds. For a few days now, h...
