Repository navigation
content-sharing 2.5.0
Share a draft with someone without an account straight from the Preview menu, and review links no longer touch the content's publication. Upgrade from any 2.3.x or 2.4.x.
Added
- Share for external review, in the menu next to Preview on a page (Page Builder and page header), and in the More options and right-click menus of a content item with its own URL or a file. A dialog creates the review link for the language being edited, valid from 1 day to 30 days, then shows it: copy it, open it as a reviewer, change its expiry, revoke it.
Changed
- Review links are kept out of the content's publication. A link is now a node of its own under the content, never published and not listed in jContent. Creating, changing or revoking one leaves a page Published, and the key never reaches live. A content item or a file shows as modified once, with its first link. A link copied with its page opens nothing, and the Shared links panel says so.
- The review field is no longer shown in Content Editor. The field for sharing published content is unchanged.
After upgrading
Review links made with earlier versions keep working, and the Shared links panel lists and revokes them. To move them to the new storage with their keys, so that the addresses already handed out keep working, run migration/3-review-links-2.5.groovy (dry run first): see UPGRADE.md. It writes the authoring workspace only and publishes nothing.
Verified
On Jahia 8.2.3.2 with jContent 3.8.1: creating, re-dating and revoking a page's link left it Published; the reviewer got the draft, and a revoked address answered 404. A copied page's link opened nothing. A news item turned modified once with its first link, then stayed Published. The migration moved valid links with their keys (both addresses kept opening), cleared expired and undated ones, and reported nothing on a second run.
The tag's CI run shows a failed secret scan: its one finding is a made-up key in a unit test, ignored on main from the next build on. The jar attached here was built by that run and checked: version 2.5.0, no local build path, front end and styles included.