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
- Tips for Debugging Appwrite Functions Lo...
Hi everyone! 👋 I have an Appwrite Function running locally with Docker, but I’m struggling to debug it because execution doesn’t reach the breakpoints I set. ...
- AttributeError: 'Context' object has no ...
I'm getting an error executing my function. I'm not able to replicate this locally since I have to use a mock context. Is there a way to debug this kind of erro...
- SyntaxError: The requested module 'node-...
I am trying to use appwrite functions and in the function i am creating rows but i got this error when i executed the funtion. As i checked docs there TablesDB...