Permissions Management
Permissions Management
NOTE
This functionality is for Pro Edition only.
Crawlab Pro supports a RBAC -based permissions management, which means you can use Crawlab Pro to manage the Permissions
of your users via Roles
.
Permissions
Permissions in Crawlab Pro are the basic unit of user access control.
Types of permissions
Types of permissions are as below:
- Action: Specific actions that a role can perform, such as
View
,Edit
,Delete
,Create
, etc. - Page: Specific pages that a role can access, such as
Spiders
,Tasks
,Nodes
, etc. - Data: Specific data records that a role can access, such as
Spiders
attributed to a specific user.
Permission fields
Fields of permissions are as below:
- Type: Type of permission,
Action
,Page
, orData
. - Target: Regex pattern of the targets, where the permission should operate on.
- Allow: Regex pattern of allowed items.
- Deny: Regex pattern of denied items.
Create a permission
- Go to the
Permissions
page by clicking thePermissions
button in the sidebar. - Click the
New Permission
button - Enter necessary info of the new permission and click
Confirm
button
Delete a permission
- Go to the
Permissions
page by clicking thePermissions
button in the - Click the
Delete
button of the permission you want to delete
Roles
Roles in Crawlab Pro can be defined by admin users. Roles are associated with a set of permissions, and can be assigned to users.
Create a Role
- Go to the
Roles
page by clicking the navigation button on the left sidebar - Click the
New Role
button - Enter necessary info of the new role and click
Confirm
button
Delete a role
- Go to the
Roles
page by clicking theRoles
button in the - Click the
Delete
button of the role you want to delete
Link/Unlink permissions to a role
- Go to the
Permissions
tab in theRole Detail
page by clicking theView permissions
button. - Click on
Link Permissions
button. - Select the permissions you want to link/unlink to the role, and click
Confirm
button.
Link/Unlink users to a role
- Go to the
Permissions
tab in theRole Detail
page by clicking theView users
button. - Click on
Link Users
button. - Select the users you want to link/unlink to the role, and click
Confirm
button.