In this guide, we will learn how to set role-based access control for your folders to limit access to links for select teammates.
What is role-based access control (RBAC)?
Role-based access control (RBAC) is a security approach that restricts access to resources based on the roles of individual users. Think of it like a modern office building where different employees have access to different floors based on their job roles. In Dub’s link folders, RBAC lets you control who can access specific folders and what they can do with the links inside them. For example, marketing team members might only have access to the “Marketing Campaigns” folder, while team leads have full access to all folders. This granular control ensures that sensitive links remain secure while still allowing teams to collaborate effectively within their designated areas.Workspace-level permissions
When you create a folder, you can decide what the workspace-level permissions are for the folder. Workspace owners have access and full permissions to every created folder.
There are 3 options for the workspace-level permissions:
- Can edit (default): Anyone in the workspace can access the folder and its links.
- Can view (view-only): Workspace members can view the folder and its links, but not edit them.
- No access (private folder): Only members added to the folder and workspace owners have access (via folder-level permissions).
Folder-level permissions
You can also set folder-level permissions for each folder. This lets you set exactly which members can access the folder and what they can do with the links inside it. To set folder-level permissions, open the ⋮ dropdown next to the folder in your links dashboard and select the “Members” option:
This will open up the member access control panel, where you can set different roles to different users:
| Role | Description |
|---|---|
| Owner | Has full access to the folder and its links. Can also invite other members to the folder / manage their access levels. |
| Editor | Can edit the folder and its links. |
| Viewer | Can view the folder and its links. |
| No access | Cannot view the folder and its links. |
Requesting access to a folder
If you only have read access to a folder, you can request edit access by clicking on the “Ask to edit” button:
This will send an email to the folder admin, who can then grant edit/owner access to you to manage the folder and its links:
