Repository navigation
content-sharing 2.4.2
Revoking a link now removes it entirely, and no share key is ever made without a click. Upgrade from any 2.3.x or 2.4.x.
Fixed
- Revoke left sharing switched on. It cleared the key only: the mixin and the expiry date stayed on the node, so Content Editor still showed the link as active. Revoke now removes the key and its expiry date in that language, and the mixin once the node has no other link of the same kind in any language.
- Opening a page could bring a revoked link back. The Content Editor field made a new key whenever it opened empty, which also marked the form as changed: saving the page for any reason re-activated the link, with its old expiry date. The field now makes a key only when Create new URL is clicked.
After upgrading
A link revoked with an earlier version may have left its mixin on the node, with no key behind it. Content Editor shows that sharing switch as on with an empty field: switch it off and save to remove it. The field no longer fills it in on its own, so leaving it is harmless.
Known limitations, now documented
- A review link's key is published with its node. The endpoint only accepts review keys from the authoring workspace, so the copy in live opens nothing by itself, but while the link is active it is the same key, readable by whoever can read that node's properties in live.
- Publish on a Revoked, still live row publishes the node in that language, so other unpublished changes on that node and its sub-nodes go out with the revocation.
Verified
On Jahia 8.2.3.2 with jContent 3.8.1, through the Shared links panel on a page holding three links: revoking the only review link removed its key, expiry and mixin; revoking one language of a published link kept the mixin for the other; revoking the last one and publishing left no sharing mixin in either workspace. Content Editor on a node with the mixin and no key shows the Create new URL prompt and leaves the form untouched.