Salesforce Developer Data Security Share Records Manually Ex

salesforce-developer-data-security-share-records-manually

// Salesforce - Developer - Data Security - Share Records Manually - Extra Discussion:

Manual Sharing in the Recruiting App:

After implementing the sharing rules for the Recruiting app, the following 
required permissions remain:

1. Hiring managers need read and update access on position records on which 
   they're the hiring manager.

2. Hiring managers need read access on candidate records on which they're the 
   hiring manager.

3. Interviewers need read access on the candidate and job application records 
   for people they're interviewing.

It’s difficult to assign these permissions using sharing rules because there’s 
no way to define a consistent group of users who would need access to a 
particular set of records. It makes more sense for the person who owns a record 
to grant access to specific users, when required.

For example, a recruiter, like Mario, who owns the position, candidate, and job 
application records for jobs he's trying to fill, also knows the hiring manager 
and interviewers who should be assigned to them. Mario can use manual sharing to 
grant read or read/write access on records that he owns to any other user, role, 
or public group.

Although it isn't automated like organization-wide defaults, role hierarchies, 
or sharing rules, manual sharing gives Mario the flexibility to share particular 
records with the ever-changing groups of interviewers and hiring managers he 
works with every day. With this final step, we’ve implemented all of the 
required sharing and security settings, which we discussed at the beginning of 
this module, for the Recruiting app.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License