# Permission to Dismiss a Blocked Product Rule

## Overview

Limio allows to block purchases related to a product a customer already owns. This config is called **Related Products** and can be found on the product set up page:<br>

<figure><img src="https://3950144701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKxTpA9AeeNYx1ml6UpHj%2Fuploads%2FtgC1L6bPzcfyOP7ctZ2Q%2Fimage.png?alt=media&#x26;token=2bc27d2d-d202-4b98-a836-a570c1774407" alt=""><figcaption></figcaption></figure>

For example, you might want someone who already has *Digital + Print* to not be able to buy *Digital*. To do so, you can specify *Digital* in the list of **Related Products** on the *Digital + Print* product.

This config is shared between Limio Commerce and Limio for Salesforce.\
Learn more about Limio Commerce implementation of the feature here: [https://docs.limio.com/components/component-library/standard-components/component-block-related-purchase-modal](https://docs.limio.com/components/component-library/standard-components/component-block-related-purchase-modal "mention")

In Limio for Salesforce, when an agent selects a new offer associated with a product a customer already owns, they see this modal with a message:<br>

<figure><img src="https://3950144701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKxTpA9AeeNYx1ml6UpHj%2Fuploads%2FsDuAEWI2TzojSb8HQIHI%2Fimage.png?alt=media&#x26;token=d682483e-22b3-4997-a3d9-f684aea85d69" alt=""><figcaption></figcaption></figure>

While this rule generally applies to the majority of orders, there are specific scenarios where you may need to permit certain users to override the rule and proceed with an order.

To accommodate such cases, Limio for Salesforce offers a specialized custom permission called "Dismiss a blocked product rule" (API name: `dismiss_blocked_product_rule`). This permission is integrated into the out-of-the-box Assisted Sales - Admin permission set for seamless access and management. It is also possible to include it in your custom permission sets.

Users who have this permission assigned, see the modal with additional functions namely with the

"I want to ignore the blocking product rule and proceed with the selected offer." toggle and a **Proceed with the selected offer** button that becomes clickable when the toggle is enabled.<br>

<figure><img src="https://3950144701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKxTpA9AeeNYx1ml6UpHj%2Fuploads%2F7MQVVOAwcSazz3zykaF2%2Fimage.png?alt=media&#x26;token=e6231c64-977a-4c50-8f02-06294f93a2be" alt=""><figcaption></figcaption></figure>

### How to add or remove Custom Permission

1. In Setup, navigate to Permission Sets, choose the existing one you want to update or create a new clone. Click "Edit".
2. Locate "Custom Permissions" section.
3. Click "Edit", then add or remove **Dismiss a blocked product rule** custom permission.
4. Click "Save" to apply the changes.
5. Assign updated permission set to the selected users.
