Repository navigation
content-sharing 2.3.2
Adds a Shared links panel to Site Settings, and fixes what the first cut of it got wrong.
Shared links, in Site Settings
Every link that lets someone without an account reach content of the site, in one place: both kinds, every language, with the content each one points at, its expiry date and the workspace it is served from. Until now a link could only be found by opening the content it was created on, so a site had no way to answer "what is shared right now?".
Each row carries the action it needs, and the panel runs every read and every change as the person using it — the repository decides who may revoke what, and the module gains no new privileged code.
| State | What it means | Action |
|---|---|---|
| Live | Served from the live workspace; the link works | Revoke |
| Revoked, still live | The key is gone from authoring, live still serves it | Publish revocation |
| Not published yet | Set in authoring, never published; the link does not work yet | Revoke |
| Authoring | A review link, always served from the authoring workspace | Revoke |
A link to published content is served from live, so clearing its key only takes effect once that change is published. The panel reads both workspaces and keeps such a link listed rather than hiding it at the one moment it is both unwanted and working. It also flags a review link with no expiry date, which the endpoint refuses — a visitor cannot tell any of these from a working link.
Export CSV and Export JSON build the list in the browser; nothing leaves the page.
Verified on a running instance
Driven on Jahia 8.2.3.2 with jContent 3.8.1, with links seeded in each state: publishing a revocation took its link from 200 to 404 while an untouched link stayed 200; revoking a review link did the same in authoring; both exports were captured and checked.
Fixed since 2.3.0
- The panel listed nothing. Keys were read from the node's
jnt:translationchildren, which come back empty through GraphQL on this version, with no error — every link was found and then dropped. Each key is now read with an explicit language. - The panel no longer reads through the shared Apollo cache, where one node under two workspaces shares an identifier and the live answer overwrote the authoring one.
- Two sets of pagination controls; a long content path cut off instead of wrapping; the report sitting on the page's grey background instead of a white sheet.
Upgrading
Drop-in from 2.2.x. No content or configuration change. The panel appears under Site Settings on every site that has the module enabled.