Skip to content

sriram-venkatraman/SecuredFieldAccess

Repository files navigation

Secured Field Access

Deploy to Dev Org/Prod: Deploy to Salesforce

Deploy to Sandbox: Deploy to Salesforce

Note: Still tidying up with test classes and documentation. Functionality seems to work reasonably well although I haven't done extensive testing

Challenge:

Salesforce provides Platform Encryption to encrypt sensitive fields at rest. Platform Encryption doesn's provide a standard mechanism to mask fields that are considered sensitive. Current available options for UX are as follows -

Typically information security compliance requires access to sensitive data to be provided only when required, to those who are authorized and log view/update activities.

Solution:

This open source has been created as a reusable solution for the Salesforce community to provide quick starting point with all foundational capabilities such as -

  • Configurable LWC record page component.
  • Ability to specify dynamic fields specifications including masking through apex & permission to view & update. No standard Field Level Security access needs to be provided to these fields. Yet use Customm Permission to reveal and update access to specific fields.
  • Optionally, provide custom apex Class.Method to log views & updates.

Sample Component Configuration

Sample Component Configuration

Sample JSON for Dynamic Field Specification

Sample JSON for Dynamic Field Specification

Sample Usage including logging

Sample Usage including logging

!! Important !!

  • Still working on adding comments to my code
  • Still working on creating test classes to the apex classes

Dev, Build and Test

Resources

Description of Files and Directories

Issues

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published