Why can’t this user see it?

Access tickets arrive as one line and turn into an afternoon in Setup. Ask the question in plain words and get the setting that decides it, plus everything else that was checked.

For admins, support teams and architects

Short answer

Ask your AI assistant “why can’t Installers see Invoices?”. sf-intelligence checks access the way Salesforce applies it: object permissions, system permissions, org-wide defaults, sharing rules, then restriction rules. It names the setting that decides the answer, and marks anything that depends on record data as “unknown” instead of guessing.

A real answer from the demo org

Two access questions asked of Verdant, the demo org: one from a support ticket, one from an access review.

Question

“Why can’t Installers see Invoices?”

Blocked the profile has no Read access to Invoice.

Next: Add Read on Invoice through a permission set, then ask who else that permission set reaches.

What decides it
  • ProfileVerdant InstallerProfile:Verdant_Installer

    No object Read permission on Invoice. Without it no sharing setting can show the record, so this is the one thing to fix.

Also checked
  • Org-wide defaultControlled by ParentCustomObject:Invoice__c

    Invoices follow the sharing of their parent Project.

  • Sharing ruleShare Invoices To FinanceSharingRule:Invoice__c.Share_Invoices_To_Finance

    Shares some invoices with Finance, depending on each record’s values.

  • System permissionView All Data

    Not on this profile.

Manual shares, sharing sets and account teams depend on record data, so they are marked “unknown” for you to check in the org, not guessed.

For developers: the tool call

Your assistant made this call to the sf-intelligence MCP server:

{
  "name": "sfi.why_cant_user_see_record",
  "arguments": {
    "userContext": {
      "profileId": "Profile:Verdant_Installer"
    },
    "objectApiName": "Invoice__c",
    "accessLevel": "read"
  }
}
Question

“Who can edit Invoices?”

2 can edit one permission set and one profile.

Next: Invoice sharing is Controlled by Parent, so what Sales Reps can see follows the parent record’s sharing. Review that before changing access.

Can edit
  • Permission setFinance TeamPermissionSet:Finance_Team

    Read, Create, Edit, View All on every record.

  • ProfileVerdant Sales RepProfile:Verdant_Sales_Rep

    Read, Create, Edit on records shared with them.

Left out on purpose
  • ProfileVerdant Read OnlyProfile:Verdant_Read_Only

    Read only.

  • GroupFinance GroupGroup:Finance_Group

    Sharing access only.

Record owners, manual sharing and team access are record data, not metadata, so the answer lists them as things it cannot see offline.

For developers: the tool call

Your assistant made this call to the sf-intelligence MCP server. sfi.who_can_access_object isn’t in the short default tool list, so it runs through sfi.run_analysis:

{
  "name": "sfi.run_analysis",
  "arguments": {
    "name": "sfi.who_can_access_object",
    "args": {
      "componentId": "CustomObject:Invoice__c",
      "accessLevel": "edit"
    }
  }
}

Recorded with sf-intelligence 0.8.0 on the built-in demo org. The wording is ours; the facts are the tool’s. More real answers.

The setting that decides it

Salesforce access isn’t one setting. It’s a sequence, and a ticket stays open because the answer can sit at any step. The answer walks the steps in the order Salesforce applies them and names the one that decided the outcome. In the demo org, the Installer profile has no Read permission on Invoice, so nothing further down, not even a sharing rule, can show the record. That’s the one thing to fix.

“Unknown” is an answer

Some steps depend on the record itself: who owns it, whether someone shared it by hand, whether a criteria rule matches its values. The snapshot holds your org’s setup, not its records, so those steps come back as “unknown” for you to check. They are never quietly resolved in whichever direction makes the answer look complete.

Ask it like this

Use your own object and field names. If a name matches more than one thing, it asks which one you mean.

  • Why can’t Installers see Invoices?
  • Who can edit Invoices?
  • Who can edit the Salary field on Employee?
  • What can the Read Only profile actually do?
  • Which permission sets give delete on Opportunity?

What it checks, and what it can’t see

Checks

  • Object and field permissions from profiles, permission sets and permission set groups, including muting
  • System permissions such as View All Data and Modify All Data
  • Org-wide defaults and the role hierarchy
  • Owner and criteria sharing rules, and restriction and scoping rules
  • Who it leaves out, and why, when you filter by access level

Can’t see

  • Who is assigned which permission set (that’s record data). The optional live mode can read it
  • Manual shares, account teams and sharing sets for a specific record
  • Whether a criteria sharing rule matches one particular record
  • Access changes made since your last refresh
For developers: the tools behind this

Your assistant picks these from the plain-language question. You never have to name them.

Questions

Can it tell me whether one specific user can see one specific record?

Not from the snapshot alone. Record ownership, manual shares and team membership are record data, not metadata. The answer marks those steps as unknown. If you turn on the optional read-only live mode, it can ask Salesforce directly for one record.

Does it change permissions?

No. It tells you which profile, permission set or rule to change. Making the change stays a deliberate step in Setup or a deployment.

Why is a general AI assistant bad at this?

It knows how Salesforce sharing works in general and will describe a plausible cascade with made-up profile names. sf-intelligence knows which profiles, permission sets and rules exist in your org, and says which ones it couldn’t check.