Skip to content
Back

[SOLVED] team owners

  • 0
  • Teams
oferardi
2 Jun, 2023, 02:09

Hi

Is it possible that only certain users will have owner permission and other won't?

Id like that Each only team owners will be able to add users to a team and other users won't

Does the client api support this or I need to use the server api?

Thanks

TL;DR
TL;DR: Users were asking about team ownership and permissions. The solution is that the user who creates the team becomes the owner and can invite new members. Only owners can add members to the team. The client API supports this feature.
Binyamin
2 Jun, 2023, 02:12

This is the actual teams behavior. Only those with owner rule can add members to a given team.

oferardi
2 Jun, 2023, 05:21

Hi according to the documentation (which is not that clear):

Each user who creates a team becomes the team owner and can delegate the ownership role by inviting a new team member. Only team owners can invite new users to their team.

What is not clear is:

Does when a team owner adds a team member it will get owner permissions or not?

safwan
2 Jun, 2023, 07:22

It's pretty clear in my opinion. The docs clearly state that use who creates the team becomes the owner. Anyone who is invited and joins the team is just a member.

oferardi
2 Jun, 2023, 07:25

@Binyamin thanks that exactly what I need

oferardi
2 Jun, 2023, 08:00

Is it possible to have more than one owner? Is it possible to change the owner? Thanks

D5
2 Jun, 2023, 08:35

To remove the owner, there should be needed removing it from the team. To assign another owner, adding owner role

oferardi
2 Jun, 2023, 08:37

OK thanks so the owner role is like assigning any other role (text field)

Binyamin
2 Jun, 2023, 11:53

Exactly. And fyi if you're adding team member using the Server team SDK, then no one would be an owner by default.

D5
2 Jun, 2023, 14:08

@oferardi has this been solved?

oferardi
2 Jun, 2023, 14:09

Yes thank you

D5
2 Jun, 2023, 14:09

[SOLVED] team owners

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