OBLYTECH Logo
OBLYTECH Logo

Restriction and Scoping Rules Review for Shared Objects

A restriction and scoping rules review checks each rule that limits or widens access to a shared object, compares it with the access it was built to control, and records who may change it. The review surfaces rules that no longer match the business, rules that overlap, and rules nobody can explain.

Start with a full inventory of the rules on each shared object

The first step is a complete list. Before anyone judges a rule, record what exists. For each shared object in scope, list each rule that restricts or widens who can see, edit, delete or report on its records. Include rules left over from earlier projects, rules added by one administrator as a quick fix, and rules that apply to a single record type or one business unit. A rule that nobody on the current team can find is still active, so the inventory has to come from the configuration itself, not from memory.

For each entry, capture five things: the rule name, the object it applies to, the condition that decides whether it fires, the access it grants or removes, and the date and person who last changed it. The last two fields are often blank in older setups. Leave them blank and mark them as unknown. A blank still tells you something, because it points to the rules most likely to need a decision.

Compare each rule with the access it was meant to limit

A rule is correct only when it still produces the access its owner intended. Start by finding the original reason for the rule. Sometimes the reason is written in a change request or a project note. Sometimes it has to be rebuilt from the people who work with the records. If the reason cannot be stated in one sentence, record it as intent unknown and move on to testing. That gap is a finding in its own right.

Test the rule against representative users

Pick a small set of users from each role that touches the object. Include at least one person from each team that edits the records and one person who only reads them. For each user, check what they can see and change, then compare the result with the stated intent. Record the test in the same table as the inventory, with the user role, the expected result and the actual result. A mismatch is a finding, whether the access is too wide or too narrow.

Test with a user at the edge of the rule’s condition as well as a typical one. A condition that works for the common case can still fail for records that were just created, records transferred between owners, or records missing a value the condition depends on. Edge cases tend to expose decisions a rule has been quietly making for the business.

Look for overlap and contradiction

Two rules on the same object can each look correct and still produce a result neither author wanted. One may widen access while another narrows it, and the combined result is easy to misread from the rule names alone. List rules that touch the same record type and the same kind of access side by side. Where two rules grant and remove the same right under similar conditions, mark both for a decision. Confirm the combined result by testing it, rather than reasoning from the rule names or creation dates.

Classify each finding and decide what happens next

After the comparison, each rule falls into one of four groups: it matches intent, it is too wide, it is too narrow, or it cannot be explained. Each group calls for a different response. A rule that matches intent needs a note in the inventory and a review date. A rule that is too wide needs a tighter condition, and the change should pass through the same approval as any other change to access. A rule that is too narrow may be blocking legitimate work, so confirm with the team that reports the block before changing anything. A rule that cannot be explained should stay in place, with a named owner and a deadline for a decision.

Record who may change restriction and scoping rules

The review should end with a clear answer to one question: who is allowed to change these rules, and what must they do first? In many organizations the answer is spread across several people. A system administrator may make the change, a business owner may approve the access, and a security or compliance reviewer may need to confirm that the change does not weaken a control. Write down each role and the order in which the roles act.

Keep a change log that states the reason

For each change, record the rule name, the old condition, the new condition, the reason, the approver and the date. The reason matters most. An entry that says “updated” tells the next reviewer nothing. An entry that says “narrowed to the regional team because the old condition exposed records from other regions” lets the next person judge whether the rule still serves that purpose.

Set a review cycle that matches how often the rules change

A restriction review done once goes out of date quickly, because the teams, processes and reporting lines around an object keep moving. Set the cycle by the rate of change. An object that gains new processes or new users each quarter needs a shorter cycle than one that has been stable for years. Use the change log to check the cycle. If it shows many changes between reviews, the interval is too long.

Add event-based reviews as well. A reorganization, a new business unit, a change in who signs off on access, or a new integration that writes to the object should each trigger a targeted check of the rules that touch it. Scheduled reviews catch slow drift. Event-based reviews catch the changes that were made quickly and never revisited. Teams that want this check built into routine upkeep can align it with ongoing Salesforce support and maintenance work.

Connect the review to sales and service workflows

Restriction rules usually follow the workflows they protect. A sales team that hands opportunities to a finance reviewer has different access needs from a service team that routes cases between support tiers. Before judging a rule, confirm which process it supports. A written map of the expected handoffs makes the review much easier. Where those handoffs need redesigning, the sales workflow design and service workflow design services are the places to start.

Field-level restrictions need their own pass. Where a rule limits individual fields rather than whole records, check each sensitive field separately, and do not assume that record access covers it. The method for that field-by-field pass is set out in the field-level security checks for compliance reviewers guide.

Common errors in restriction and scoping reviews

First-time reviews tend to repeat the same few errors. The most common is reading the rule’s name as its meaning. A rule called “Regional access” may restrict records by region, by account owner, or by a field that nobody updates. Read the condition, not the label.

The second error is reviewing only the default access of an object and skipping the rules that widen access. Widening rules often matter more, because they add records a team cannot see by default and therefore rarely question. The third error is changing rules under deadline pressure with no approver recorded. The fourth is treating a rule as correct because no one has complained about it. A rule can be too wide for years without a complaint, since the people who see the extra records seldom report it.

The last error is testing from one team’s position. Access that looks right to a manager may look wrong to a front-line user, and the reverse holds too. Check from more than one position before deciding.

Planning the review as a project

Put the review on a calendar with a named owner for each object. Agree on the output before the work begins: an inventory, a findings table, a decision log and a rule for approving changes. Those four records are enough for a team to show what was reviewed, what was decided and why each rule was kept, tightened or deferred.

Plan time for the intent-finding step, since it is usually the slowest part. Start with the objects holding sensitive records, then move to the rest in order of risk. For help planning this work, see Salesforce implementation.

Questions about reviewing shared object rules

How long should a first review take?

It depends on the number of rules and the number of objects in scope. A small set on a single object typically takes a few working days. A large set spread across several objects, with an incomplete change history, can take several weeks, largely because of the intent-finding step. Work through the sensitive objects first and schedule the rest after them.

Who should run the review?

Someone who understands the configuration and someone who understands the business should work on it together. The first can explain what a rule does. The second can say whether that is what the business wanted. A review run by only one of them usually misses findings that the other perspective would have caught.

What if nobody knows why a rule exists?

Record it as unexplained, test what the rule actually does, and ask the people who depend on it what would break if it changed. If the rule blocks no current work and widens no sensitive access, a time-limited removal after approval can be reasonable. If it matters to someone, leave it in place and assign an owner with a deadline.

How does this review differ from an access audit?

An access audit mainly asks who has been granted a permission. A restriction and scoping review asks whether the rules that govern access still do what they were built to do, and who is allowed to change them. The two overlap, and the rule inventory from this review is a direct input to an audit.