What's the difference between roles & scopes 👥

  • Updated

📖 2-minute read

Before continuing, we recommend reading the following first:

Now, we know that both functions may sound the same, especially when assigning roles and scopes to a group environment. But they're actually quite different, here's how:

 

Function

Type

Use-Case

Role

Roles are applicable for all actions of a user. They are mainly used by enterprise customers to block action or activity at the API level

Blacklist

For example, you may want to disable the ability to send messages to a certain set of users.

Scope

Scopes are specific to a particular group only and give special permissions to users within that group

Whitelist

For example, you may want certain users to be able to moderate a group (e.g. ban & kick users).

To illustrate this, let us look at a few sample scenarios. Let's assume User A is provided the following Scope and Role:

Scope

Role

End Result

Admin/moderator enabled (for a particular group)

The role allows ability to ban

User A can ban users in that group

Admin/moderator not enabled (for a particular group)

The role allows ability to ban

User A cannot ban users in that group

Admin/moderator enabled (for a particular group)

The role does not allow the ability to ban

User A cannot ban users in that group

Have more questions? Reach out to our Support team today!

 

Was this article helpful?