Salesforce provides administrators with robust tools to manage data access and visibility across the platform. Two essential features in this area are Scoping Rules and Restriction Rules. While they may seem similar at first glance, they serve different purposes and are implemented differently. Understanding how and when to use each is crucial for maintaining security, streamlining workflows, and improving user productivity. Let’s explore how Scoping Rules differ from Restriction Rules and what each offers.

What are Scoping Rules?

Scoping Rules help control which records appear by default for users in list views, searches, and reports. They don’t limit access, but rather fine-tune what users see first, based on specific conditions like role, region, or ownership.

Key Features of Scoping Rules

  • Default Record Display: These rules set which records show up by default. Users still retain full access to all records they’re permitted to view.
  • Switchable Views: Users can change views by switching between scopes to focus on specific sets of data.
  • Supported Objects: Available for custom objects and select standard objects such as Account, Case, Contact, Event, Lead, Opportunity, and Task.
  • Limits: Up to 2 active rules per object in Enterprise and Developer editions.
  • No Security Impact: Scoping Rules don’t block access—they simply streamline the user experience.

Use Cases

  • Sales reps viewing only their assigned leads or opportunities.
  • Support teams managing region-specific cases.
  • Marketing teams working with accounts based on certain engagement levels.

What are Restriction Rules?

Restriction Rules go a step further by actively limiting which records users can see, even if they usually have permission. These rules are enforced based on strict conditions and override any sharing settings.

Key Features of Restriction Rules

  • Strict Record Control: Users cannot access records outside the rule’s criteria. The system enforces this limit across the platform.
  • Enhanced Security: Ideal for sensitive or private data—like legal or financial records—that should only be visible to specific users.
  • Supported Objects: Includes custom and external objects, Contracts, Tasks, Events, Timesheets, and more.
  • Limits: Just like Scoping Rules, up to 2 active rules per object in Enterprise and Developer editions.
  • Permanent Filtering: Restriction Rules apply to everything—List Views, Lookups, Related Lists, Reports, SOQL, SOSL, etc.

Use Cases

  • Preventing one sales team from viewing another team’s deals.
  • Hiding confidential contracts from non-legal teams.
  • Ensuring task/event visibility is limited to assigned or authorized users.

Scoping Rules vs. Restriction Rules: Side-by-Side Comparison

FeatureScoping RulesRestriction Rules
PurposeRefines what data shows up by defaultEnforces strict record-level access
Data Access ImpactDoesn’t limit access, just filters viewBlocks access to disallowed records
Effect on Sharing RulesWorks with sharing settingsOverrides sharing settings
FlexibilityUsers can switch viewsUsers cannot bypass the rule
Use CaseBoosting productivitySecuring sensitive data
Where It AppliesList Views, SOQL, ReportsAll areas including Search, Lookups, Related Lists
Objects SupportedAccounts, Leads, Tasks, Opportunities, etc.Contracts, Tasks, Events, Timesheets, etc.
Limits2 per object, 10 per org2 per object, 10 per org
Performance ImpactEnhances visibility for user efficiencyIncreases control and compliance

How to Implement Scoping and Restriction Rules

Setting Up a Scoping Rule

  1. Go to Setup > Object Manager.
  2. Choose the object you want to configure.
  3. From the sidebar, click on Scoping Rules.
  4. Create a new rule by defining User Criteria and Record Criteria.
  5. Save and activate the rule.

Example:
A Site Inspector at a construction firm only needs to see the sites they’re assigned to, but might occasionally search others. A Scoping Rule can filter their view to show only relevant sites while retaining full access.

Setting Up a Restriction Rule

  1. Go to Setup > Object Manager.
  2. Select the object for the rule.
  3. Click on Restriction Rules from the left menu.
  4. Define User Criteria and Record Criteria.
  5. Activate and save the rule.

Example:
The legal team should only access finalized site records. Use a Restriction Rule to limit their view to finalized records only, hiding those that are pending or rejected.


Summary

Both Scoping Rules and Restriction Rules are vital tools in the Salesforce platform, each playing a unique role in managing data access and visibility. Scoping Rules are ideal when you want to optimize user focus without reducing access, while Restriction Rules are best for enforcing strict security and ensuring compliance.

By understanding and applying these tools effectively, Salesforce admins can strike the right balance between usability and data protection—tailoring access to match business goals and security needs.

Want expert help configuring Scoping or Restriction Rules in your Salesforce org?
Let the certified professionals at iBirds Services assist you in building a secure, efficient, and streamlined Salesforce environment.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free Demo

Please enable JavaScript in your browser to complete this form.