# Step 13: Manage permission sets

### General permissions

All storefront users must be granted the following permissions. Add these permissions to a permission set(s) that gets assigned to all storefront users.

| Object        | Permission type                                         |
| ------------- | ------------------------------------------------------- |
| Cart          | Grant **Create**, **Edit**, and **Delete** permissions. |
| Order Product | Grant **Read** access to all fields.                    |

### Sharing settings&#x20;

Ensure that the Sharing Settings for the Order object are set to **Public Read/Write**. If the Order object is set to **Controlled by Parent**, the Sharing Settings for Account and Contract should be **Public Read/Write**.

![](https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FLqyeVTKk7QygZN0VWITK%2FSharingsettings.PNG?alt=media\&token=f09805d6-a4a7-438f-8c00-5a4533b10e75)

### Digital River permission sets

| Permission set                       | Description                                                                                                                          |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| Digital River Connector - Admin      | Assign this permission set to Admin users to access the **Digital River App Configuration** page and to update configurations in it. |
| DigitalRiver Connector - Shopper     | Assign this permission set to all Storefront users.                                                                                  |
| DigitalRiver Connector - Integration | Assign this permission set to the Integration users.                                                                                 |
| DigitalRiver Connector - Refunds     | Assign this permission set to customer service representatives (CSRs) who initiate the refunds.                                      |

### Assign users to a permission set

To assign users to a permission set:

1. Type **Permission Sets** in the **Search** field and press **Enter**.\
   &#x20;<img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2Fxmvz9WzdZZnShqLq51c6%2FPermission%20set%201.png?alt=media&#x26;token=b7791351-7d3b-4e20-80e9-8c5371fd3890" alt="" data-size="original">&#x20;
2. Click **Permission Sets**. The **Permission Sets** page appears.
3. In the **Permission Set Label** column, click the permission set you want to add users to.\
   &#x20;<img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FEyhkkj1Z7pfBU0uGXeCk%2FPermission%20set%202.png?alt=media&#x26;token=1fa92bc8-5c56-4e5e-8da1-daaa3c3a33dd" alt="" data-size="original">&#x20;

   This example shows how to assign a **Digital River Connector – Admin** permission set to users. <img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2F4lMhrWi9rhVIbrEBKapB%2FPermission%20set%201.png?alt=media&#x26;token=d1af4745-346b-4c69-82cb-6ae8948cc999" alt="" data-size="original">&#x20;
4. On the **Permission Set** page, click **Manage Assignments**.\
   &#x20;<img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FB52d9c0gaAbXDQYNukKx%2FPermission%20set%204.png?alt=media&#x26;token=bb52712a-efbe-4dac-bc35-9c800ec13a7c" alt="" data-size="original">&#x20;
5. Click **Add Assignments**.\
   &#x20;<img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FpRDANetp5hKVkhliXmcd%2FPermission%20set%205.png?alt=media&#x26;token=351cb59f-8bf9-48d4-ba5d-358157317327" alt="" data-size="original">&#x20;
6. Select one or more users who you want to assign to this permission set and click **Assign**. The assigned users now appear in the modified permission set.\
   &#x20;<img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2Fl429rch9BY21NWnCBnOF%2FPermission%20set%206.png?alt=media&#x26;token=3651a51a-886a-499a-98dd-3ed63d74725d" alt="" data-size="original">&#x20;

See the [Digital River permission sets table](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-api-1.0.1/integrate-the-salesforce-lightning-app/step-13-manage-permission-sets) to repeat the above-mentioned steps for assigning relevant permission sets.
