Setting Up Roles and Permissions¶
In this tutorial, you'll create three roles and assign permissions to them.
Before you begin
- Expand Settings in the navigation pane.
- Click Security Setup. The Security Setup view opens.
Viewer User Role¶
This role grants users permission to read data but not to create, update, or delete it.
- In the Roles pane, click Add Role. The Role dialog box opens.
- For the Role Name, type
AcmePetViewer. - Click OK. The role is created with the default permissions.
- Scroll to the Permissions pane.
- Click Add All. The Permission: addAll dialog box opens.
- Toggle the Read operation to
Yes. Leave the rest set toNo. - Click OK.
Editor User Role¶
This role grants users permission to create and update data but not to delete it.
- In the Roles pane, click Add Role. The Role dialog box opens.
- For the Role Name, type
AcmePetEditor. - Click OK. The role is created with the default permissions.
- Scroll to the Permissions pane.
- Click Add All. The Permission: addAll dialog box opens.
- Toggle the Create, Read, and Update operations to
Yes. Leave the Delete operation set toNo. - Click OK.
Admin User Role¶
This role grants users permission to create, read, update, and delete data.
- In the Roles pane, click Add Role. The Role dialog box opens.
- For the Role Name, type
AcmePetAdmin. - Click OK. The role is created with the default permissions.
- Scroll to the Permissions pane.
- Click Add All. The Permission: addAll dialog box opens.
- Toggle the Create, Read, Update, and Delete operations to
Yes. - Click OK.
Next step: Assigning Roles to Users