Skip to main content

How to use Salesforce Restriction Rules

About Us
Published by jetbi
05 January 2023

Why do we need to use Restriction Rules? Most of all, the use of restriction rules is a great solution to protect, and increase the security of your organization. Controlling user capabilities is the key to a well-protected system and a satisfied customer. Using restriction rules will allow you to control the number of users who can see (or not see!) important data that is stored in your system.

The ability to use this technology has appeared quite recently, and in order to successfully apply it in your work, you need to make sure that you are working with the Lightning Experience, Enterprise, Performance, Unlimited, and Developer versions.


Constraint rules are a kind of help tool for Organization-Wide Sharing Defaults and Sharing Mechanisms. This, in turn, means that this tool allows you to sort the final result, which, in turn, will allow you to determine which records users will see in the end.

User access to data will first be determined by Organization-Wide Sharing Defaults, the hierarchy of roles, sharing settings, and territorial management. The restriction rules will allow us to reduce the amount of information allowed to a specific entry that meets the established criteria.

Restriction rules will allow you to fine-tune the visibility of records after all the previous steps in creating security in your organization have been completed.


 How to set up restriction rules?


  1. First, we need to go to the object manager.
  2. Now we should select the object on which we want to create a restriction rule.
  3. In the panel on the right, you need to find the ‘Restriction Rule’ and create a new rule. When filling in all the required fields during the rule creation process, do not forget to select the ‘active’ status for the rule to take effect.

During the configuration process, you can select the necessary users for whom this rule is created. Also, customize the posts that your team can see.

Congratulations! You have created your first restriction rule and now your system has become more secure, and therefore more perfect.

Kiryl Yakovlev
Salesforce Administrator
Question to the expert

We have available resources to start working on your project within 5 business days

1 UX Designer


1 Admin


2 QA engineers


1 Consultant


Steps following request submission



After receiving your request, we analyze it and we offer free online meeting slots (via email) so that we can discuss your needs in as much detail as possible


We begin gathering all necessary requirements to create comprehensive estimates, including timelines, resource allocations, risk assessments, and underlying assumptions.


Once all preparations are in place, we will initiate the project and move forward with the planned tasks