Back

User is not allowed to send invitations for this team

  • 0
  • Auth
  • Web
  • Cloud
josebernard
27 Aug, 2024, 20:55

Where can I edit in the web console to allow users to invite? or in the code if possible?

TL;DR
Developers have an issue with a user not being allowed to send invitations for a team. It was solved by changing the user's role in the team to "Owner." An appwrite function was suggested as an alternative solution. To add a user as an owner of an existing team, update the user's role to "Owner."
D5
27 Aug, 2024, 20:56

Is the user inside the team?

josebernard
27 Aug, 2024, 20:56

yes sir.

D5
27 Aug, 2024, 20:56

Maybe it needs to role Owner to be able to do that

D5
27 Aug, 2024, 20:56

An alternative is using an appwrite function

josebernard
27 Aug, 2024, 20:58

how to add user to be an owner of existing team?

josebernard
27 Aug, 2024, 21:04

any idea sir @D5 ?

D5
27 Aug, 2024, 21:05

Change/add the role of the user in the team to "Owner"

josebernard
27 Aug, 2024, 21:23

yes. it works already.

D5
27 Aug, 2024, 21:31

So does that solve it?

D5
27 Aug, 2024, 21:32

Note that the user will be the owner, meaning it can have more permissions than average user (can delete/modify the team if I remember it well). If you don't want that, use an appwrite function to generate the invitation

josebernard
27 Aug, 2024, 21:33

yes.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more