Anchor visibility and permissions
Anchors follow the same sharing as the documents they connect. A user never sees the title, passage, or number of a document through an anchor unless they can already read that document version. This page explains who can see an anchor and who can create and manage one.
Who can see an anchor end
A user sees anchors only when they have the Content Anchoring User custom permission and read access to Anchor Link records, normally through the WV Content Anchoring permission set. Read access to Anchor Link records alone, for example through CM_ContentReadOnly, shows no anchors in the anchoring screens.
Each end of an anchor is a file in a specific document version. A user can see an end only when they can read both:
- the file, and
- that exact document version (
mvn__CM_Document_Version__c).
Document version access comes from the document's sharing, which Regulated Content Cloud manages through Document Roles. Reading the file alone is not enough. For example, a user who can read a file through a Salesforce Library, or who can read a published version but not the draft that reuses its file, can't see anchor ends on the version they can't read. For a document displayed through its viewable PDF rendition, the end's file is the rendition, so the user needs read access to the rendition file and to the document version.
The Role Permissions matrix (for example, View Document or Edit Document) is not consulted for anchors. Only record sharing is.
How each feature applies the rule
Anchor visibility by feature
| Feature | When the user can't see one end of an anchor |
|---|---|
| All Anchors tab | The anchor is left out entirely. Its documents, passages, and number are not shown, and it is not counted. |
| Anchors panel and document preview | The anchor is listed, but the end the user can't see is withheld: the row is titled "Linked document", that end's passage reads "Restricted — no access", and no document number is shown. Opening that end shows "Cannot open linked passage" with "The linked passage is in a document you do not have access to." |
| Relationship Visualizer | No Anchor Links node is drawn for a document version the user can't read. |
To open an anchor end, the user also needs read access to that version's parent Document
(mvn__CM_Document__c) record, because the end opens on the Document record page. Document Roles
share both the document and its versions, so this matters only when access was granted by hand.
If a user can see an anchor but opening it shows Salesforce's "We couldn't find the record you're
trying to access" page, share the parent Document record with the user.
Who can create and manage anchors
To create an anchor, or to edit, repoint, or remove one, a user needs:
- The WV Content Anchoring (
mvn__WV_Content_Anchoring) permission set. It is the only permission set that grants create and edit access to Anchor Link records, and its Content Anchoring User custom permission turns on the anchoring features. - Read access to the anchor's Scientific Statement end: its document version and its file. This is checked even when the user works from the Reference document, except when removing an anchor whose Scientific Statement was deleted. Otherwise, the message "You do not have permission to manage anchors on this document." appears ("You do not have permission to create anchors on this document." when creating an anchor).
- To create or repoint an anchor, or to select a new Reference passage when editing it, read access to the (new) Reference end. Otherwise, the message "You do not have access to the Reference document." appears.
- To remove an anchor, read access to its Reference end, unless the Reference was deleted. Otherwise, the message "You do not have access to the Reference document." appears.
Edit access to the document is not checked: a user who holds WV Content Anchoring can create and manage anchors on any document version they can read. There is no permission set for following anchors only: every user who holds WV Content Anchoring, including users who only open anchors, can also create and manage them.
Who created an anchor doesn't matter. The anchoring screens check the user's access to the anchor's documents, not the owner of the Anchor Link record, so a user who meets the requirements above can change anchors that other users created and anchors that were copied to a new version. Automatic re-finding and the Move anchor offer follow the same rules, for the user who opens the document.
Outside the anchoring screens, for example through the API or Data Loader, the organization-wide default for Anchor Link of Public Read Only applies: only the record's owner, users above the owner in the role hierarchy, and users with the Modify All Data permission can edit an Anchor Link record. The owner is the user who created the anchor or, for an anchor copied to a new version, the user who created that version. Changes to the Status and Match State fields also need the Content Anchoring User custom permission; without it, the message "You do not have permission to change an anchor's status. Content Anchoring manage access is required." appears for a status change.
Records created or changed this way don't go through the anchoring screens' checks, so they aren't checked against the user's access to the anchor's documents. For example, a user with WV Content Anchoring can create an Anchor Link record, or change one they own, so that its Scientific Statement or Reference is in a document they can't read. Such an end is still withheld from users who can't read it.
Copying anchors to a new version doesn't need any anchoring permission: the user who creates the new version doesn't need WV Content Anchoring for its anchors to be copied.
No anchoring permission set grants delete access to Anchor Link records, but an Install for Admins Only installation gives the System Administrator profile delete access. Remove sets the anchor's status to Removed and keeps the record.
Anchors whose document was deleted
When a document version is deleted, for example a draft removed with Delete Version, its anchors can still appear in Anchors panels, with the deleted end shown as "Restricted — no access". So that these anchors don't get stuck, the rules for removing them change:
- If the Reference document version or its file was deleted, a user who can manage anchors on the Scientific Statement document can remove the anchor.
- If the Scientific Statement document version or its file was deleted, a user with WV Content Anchoring who can read the Reference document version and its file can remove the anchor. Removing is the only status change allowed in this case.
- If both ends were deleted, any user with WV Content Anchoring can remove the anchor.
Only a deleted end counts. A Reference that still exists but that the user can't open still refuses removal with "You do not have access to the Reference document.", and a Scientific Statement that still exists but that the user can't open refuses it with "You do not have permission to manage anchors on this document." A retired document version, for example Superseded, Obsolete, Expired, or Rejected, is not deleted, so removing its anchors still needs read access to it.
Anchoring permission sets
Anchoring permission sets and custom permission
| Name | API name | Type | What it grants |
|---|---|---|---|
| WV Content Anchoring | mvn__WV_Content_Anchoring | Permission set | The Content Anchoring User custom permission; create, read, and edit access to Anchor Link records and to the fields that record how an anchor was placed. |
| CM Content Anchoring | mvn__CM_Content_Anchoring | Permission set | Visibility of the All Anchors tab only. |
| Content Anchoring User | mvn__WV_Content_Anchoring | Custom permission | Turns on every anchoring feature for the user. Granted by WV Content Anchoring, and by the profiles that the package installation gives it to. |
The CM_ContentAuthor, CM_ContentReadOnly, and CM_SystemAdmin permission sets also include read access to Anchor Link records and the anchoring features' Apex classes. On their own, they show no anchoring features. Visit Set up content anchoring and Users.
Installing the packages can also grant the Content Anchoring User custom permission to profiles. For example, an Install for Admins Only installation grants it, with full access to Anchor Link records, to the System Administrator profile, so users with that profile can use content anchoring without WV Content Anchoring. After you install or upgrade, check which profiles have Content Anchoring User enabled.
Sharing checklist
For a user to see and open an anchor, confirm that the user:
- is assigned WV Content Anchoring and a Regulated Content Cloud user permission set (and CM Content Anchoring if they use the All Anchors tab),
- can read the document versions at both ends, normally through a Document Role,
- can read the parent Document record of each end, and
- can read the files at both ends. In Regulated Content Cloud, file access normally follows document access.
