> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/salesforce-lightning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-api-1.0.1/integrate-the-salesforce-lightning-app/step-13-manage-permission-sets.md).

# 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**.

![](/files/3p7x031w0u6uU40EeQPd)

### 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="/files/FwcT2sikjUCO6O6EJRHv" 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="/files/kTG8HaIlDyyHcapkj8mn" alt="" data-size="original">&#x20;

   This example shows how to assign a **Digital River Connector – Admin** permission set to users. <img src="/files/olzx8tPycJwJDZ5SKE5I" alt="" data-size="original">&#x20;
4. On the **Permission Set** page, click **Manage Assignments**.\
   &#x20;<img src="/files/T2od7nWVOUUHD9lWy1AS" alt="" data-size="original">&#x20;
5. Click **Add Assignments**.\
   &#x20;<img src="/files/jR49V0hh1r0keQ7HhdBa" 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="/files/ba47MOVGTKmeHCTsZwsz" alt="" data-size="original">&#x20;

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-api-1.0.1/integrate-the-salesforce-lightning-app/step-13-manage-permission-sets.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
