Salesforce Security Project Kit: Loan Desk with Samarth Ahuja

Salesforce Security Project Kit: Loan Desk

Samarth Ahuja

Samarth Ahuja

Salesforce interview prep

66 ratings and 312 bookings across all services

Digital Product
6Sales

About this product

"Design the sharing for this org." "Why can't this user see this record?" "When would you use Apex managed sharing?" Security questions decide admin interviews, and they come up in every developer interview too. They're hard to answer well from definitions. You need to have designed access for real people and found out what breaks. This kit is that build.

What you build

A lending company's loan desk, where everyone can see everything six weeks before an audit. You secure it, field by field and record by record:

  • loan officers see their own borrowers and applications;
  • branch managers see their branch;
  • underwriters see only the applications assigned to them;
  • the credit head reads everything, and only the credit team can approve;
  • collections see disbursed loans only, without PAN or income;
  • auditors read everything and change nothing;
  • trainees can't delete borrowers, and see only their own work.

What is in the kit

  • The spec: user stories, 17 acceptance criteria and the data model, written like a real ticket
  • A starter Salesforce DX project: the objects, app, trigger and all 26 tests are ready; you build the security model in Setup, plus one Apex sharing class
  • Tests that check your work: each test creates the users it needs and asks Salesforce what they can see and do. Every failure names the step that fixes it, so you always know what's next
  • A live check for the one rule Apex tests can't see (criteria-based sharing), run on real users in your org
  • The finished solution: every setting, the sharing code, all 26 tests passing, and the live check passing on real users
  • A 24-page build guide (PDF): set-up, the design and the reasons behind it, nine build steps, logging in as each user, and the lessons found while building it
  • Interview notes: a 30-second pitch, a two-minute walkthrough, and 15 questions this project invites, with strong answers

What you will practise

Minimum-access profiles · permission sets and field-level security · permission set groups and muting · org-wide defaults · the role hierarchy · public groups · owner-based and criteria-based sharing rules · the master-detail sharing setting · custom permissions in validation rules · Apex managed sharing with custom sharing reasons · recalculation batches · restriction rules · testing security with Apex

Who it is for

Salesforce admins preparing for interviews or their first real security design, and developers who want to understand sharing beyond "with sharing". It pairs with the free Salesforce courses on samarthahuja.org.

What you need

A free Developer Edition org, the Salesforce CLI and VS Code (to deploy the starter and run the tests). Five to six hours.

How it works

You get an instant download. Everything is self-paced: the tests check your work, and the finished solution is included if you get stuck. For your own learning and portfolio; please don't share or resell the kit.

₹499