Restricting data access

The most crucial part of any enterprise-level application (built on Salesforce or otherwise) is the control of data. The litmus test for effectiveness of an enterprise-level application is the way we restrict unauthorized access to data.

The following diagram illustrates the record sharing in an organization:

Restricting data access

The four records A, B, C, D are evenly distributed between the reps and the manager. Rep 1 should only see record A, Rep 2 should only see record B, and so on.

On the top of the chain, the Super Manager can see all the records under him.

Before designing the application we first need to consider the stake holders of the ...

Get Developer Certification Handbook (DEV401) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.