Sub topic 2
Checking AppExchange App Access Safely
Assume you know Salesforce Setup, permission sets, sandboxes, and the types of data your org stores. The safe installation path is to understand an app’s requested access, test it outside production, and grant access only to users who need it.
Checking permissions, data access, and external connections
Before installing, record:
- Objects and fields the app reads or writes.
- Whether it creates automation, custom metadata, tabs, or Apex code.
- Permission sets and profiles it requires.
- Whether it requests access to files, reports, or user information.
- External connections, such as callouts to the publisher’s servers, OAuth connections, or webhooks.
- The publisher’s data-retention, support, and incident-response policies.
The AppExchange Security Review is a useful signal. Salesforce checks submitted package behavior and security practices against its review requirements. It does not make the publisher trustworthy in every business context, guarantee that your configuration is safe, or remove the need to review data flows and permissions.
A managed package normally has a controlled namespace and can receive publisher upgrades. Its components may have limited visibility. An unmanaged package gives you more visibility and modification freedom, but upgrades and support are usually your responsibility.
Testing in a sandbox first
Install the app in a sandbox that contains representative, non-sensitive data. Test normal workflows, failure cases, sharing behavior, automation, reports, integrations, and uninstall behavior. Compare important records and metadata before and after the trial.
Use a test user with the same license and permission structure as the intended users:
sf package install --package 04tXXXXXXXXXXXXXXX --target-org my-sandbox --security-type AdminsOnly --wait 10
sf org assign permset --name Example_App_User --target-org my-sandbox --on-behalf-of [email protected]Replace the placeholder package ID and permission-set name with values from the listing.
Choosing who gets access at install time
Start with AdminsOnly when the app’s behavior is not yet proven. Avoid granting every profile access by default. After testing, assign the app’s permission set to a small pilot group, then expand access based on observed need. Review object permissions separately from feature access, because a user may need the app without needing every field or record.
Exercise
Why install with AdminsOnly before assigning a permission set?
Show answer
It limits initial exposure while you verify the package, then lets you grant tested access to specific users.