Restriction Rules Business Requirement HR users can access all Employee records. Managers should only see Employees in their own Location.
답변 5개
Yes. A single Restriction Rule can apply to multiple Managers. You don't need one rule per user.
Use a shared attribute such as Location and make the rule apply to the Manager group/role, for example:
User.Location__c = Employee.Location__c
Then all 10 Managers can use the same rule, provided each Manager has their own Location value.
HR users:excluded from the restriction, so they can see all Employee records.
So the design is:
1 Restriction Rule → 10 Managers → each sees only Employees matching their Location.