On Dub, you can invite your teammates to join your workspace. This is useful if you want to collaborate with your team on your short links.
When you invite your teammates, it is important to understand that you can manage their permissions and roles in your workspace. This is where roles come in.
There are two roles you can assign to your team members:
- Owner: This is the default role for the creator of the workspace.
- Member: This is the default role for all new members that you invite to your workspace.
Owner role
The owner of a workspace has the highest level of access. As an owner, you can:
- Invite and remove members from the workspace.
- Create, update, or remove domains.
- Create API keys with full permissions.
- Create, update, or remove OAuth apps.
- Create, update, or remove webhooks.
- Manage the workspace settings (name, slug, logo, etc.)
- Delete the workspace.
When you create a new workspace, you are automatically assigned the owner role by default. Then, when you invite your teammates, you can assign them either the owner or member role.
Member role
When you invite your teammates to join your workspace, they are assigned the member role by default. As a member, you can:
- Create, update, or remove short links.
- Create, update, or remove tags.
- Create API keys with limited permissions.
The member role is limited in what they can do compared to the owner role – this can be useful for security purposes, e.g. you may want to give your team members the ability to manage short links and tags, but not the ability to manage domains or the workspace settings.
Comparison grid
Here's a comparison grid of the features available to owners and members.
Feature | Owner | Member |
---|---|---|
Short links | ||
Create short links | ✅ | ✅ |
Update short links | ✅ | ✅ |
Remove short links | ✅ | ✅ |
Tags | ||
Create tags | ✅ | ✅ |
Update tags | ✅ | ✅ |
Remove tags | ✅ | ✅ |
API keys | ||
Create API keys | ✅ | ✅ |
Update API keys | ✅ | ✅ |
Remove API keys | ✅ | ✅ |
Domains | ||
Create domains | ✅ | ❌ |
Update domains | ✅ | ❌ |
Remove domains | ✅ | ❌ |
Team members | ||
Invite team members | ✅ | ❌ |
Remove team members | ✅ | ❌ |
OAuth apps | ||
Create OAuth apps | ✅ | ❌ |
Update OAuth apps | ✅ | ❌ |
Remove OAuth apps | ✅ | ❌ |
Webhooks | ||
Create webhooks | ✅ | ❌ |
Update webhooks | ✅ | ❌ |
Remove webhooks | ✅ | ❌ |
Workspace settings | ||
Update workspace settings | ✅ | ❌ |
Delete workspace | ✅ | ❌ |