Skip to content

Private Documents

Any user can mark a file as private. A private file is visible only to:

  1. The user who marked it private (recorded in Owner_Id__c on the visibility junction).
  2. Users with the Tucario_View_Private_Documents custom permission — typically assigned to admins, HR, or compliance via the Tucario - View Private Documents permission set.

Private files display a lock icon next to the file name in both List and Tile views.

  1. Open the file’s context menu.
  2. Select Mark as Private.
  3. A lock icon appears next to the file name; the file is now hidden from everyone except the owner and View Private users.
File marked as private with lock icon visible in the file list

The owner (and any user with View Private Documents) can remove the flag:

  1. Open the context menu on the private file.
  2. Select Remove Private.
  3. The lock icon disappears and the file falls back to the normal visibility rules (including any category restrictions).
UserCan see the file?
The owner (who marked it private)Yes
User with View Private Documents permissionYes
Everyone elseNo — the file is filtered out server-side and never appears in the list, even if they previously knew the file existed

Private and category-based visibility stack — both checks must pass for a file to be visible. If a file is private and assigned to an HR-only category, only users who pass both gates (the owner with HR role, or a View Private user with HR role) will see it. See Visibility Controls for the full filtering logic.

When you mark a file private, Smarter Files writes to the Tucario_File_Visibility__c junction:

  • Sets Is_Private__c = true.
  • Sets Owner_Id__c to the current user (enforced by the Owner_Required_When_Private validation rule — Owner_Id__c cannot be null when Is_Private__c is true).

All filtering happens server-side in getFilesList() before the response leaves the Salesforce server, so private files are never sent to unauthorized browsers.

Reached from the Private Documents action card on the Configuration Wizard home view. This is a standalone explanatory page (no wizard steps). It contains an info banner about how private documents work and two video tutorial cards:

  1. How to put the component on a page — short tutorial on adding the component via App Builder.
  2. How to mark files as private — walk-through of the per-file action.

Clicking a card plays the corresponding <video> element inline.

Configuration Wizard Private Documents page with two tutorial video cards