#109865Add "Publish" button to frontend workspace preview (parity with backend module)
Description
In the backend Workspaces module, users with publish permission can publish records directly from any stage via the mass action and selection action dropdowns — unless restricted by the publish_access flag PUBLISH_ACCESS_ONLY_IN_PUBLISH_STAGE.
The frontend comparison preview (PreviewController / StageButtons.html) does not offer this. It only shows “Send to next stage”, “Send to previous stage”, and “Discard”. Publishing is only reachable by advancing records through all stages until “Ready to publish”, at which point the next-stage button becomes “Publish”.
- The user has publish permission (
WorkspacePublishGate::isGranted()) - The workspace’s publish_access does not have
PUBLISH_ACCESS_ONLY_IN_PUBLISH_STAGEset
This would bring the frontend preview in line with the backend module behavior, where publishing from any stage is already possible. The existing PUBLISH_ACCESS_ONLY_IN_PUBLISH_STAGE setting would naturally control whether the button appears, just as it already does for the backend mass action dropdown.
- Classes/Controller/Remote/ActionHandler.php (updateStageChangeButtons())
- Resources/Private/Templates/Preview/Ajax/StageButtons.html
- Resources/Public/JavaScript/preview.js
Reviews 2
History 213
-
Maike Kiebele changed assigned to Maike Kiebele <span data-processor="relativetime" data-value="2026-07-07T12:18:01+00:00" > 07/07/26, 12:18 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 94715 status
NewUnder Review <span data-processor="relativetime" data-value="2026-07-09T12:13:55+00:00" > 07/09/26, 12:13 </span> -
Gerrit Code Review pushed patch set 2 for main to change 94715 <span data-processor="relativetime" data-value="2026-07-09T12:33:45+00:00" > 07/09/26, 12:33 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 94715 <span data-processor="relativetime" data-value="2026-07-09T13:20:04+00:00" > 07/09/26, 13:20 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 94715 <span data-processor="relativetime" data-value="2026-07-10T06:54:37+00:00" > 07/10/26, 06:54 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 94715 <span data-processor="relativetime" data-value="2026-07-20T14:18:23+00:00" > 07/20/26, 14:18 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 94715 <span data-processor="relativetime" data-value="2026-07-21T07:21:19+00:00" > 07/21/26, 07:21 </span>
-
Gerrit Code Review pushed patch set 7 for main to change 94715 <span data-processor="relativetime" data-value="2026-07-21T12:25:41+00:00" > 07/21/26, 12:25 </span>
-
Gerrit Code Review pushed patch set 8 for main to change 94715 <span data-processor="relativetime" data-value="2026-08-06T18:26:37+00:00" > 08/06/26, 18:26 </span>
-
Gerrit Code Review pushed patch set 9 for main to change 94715 <span data-processor="relativetime" data-value="2026-09-03T23:46:52+00:00" > 09/03/26, 23:46 </span>
-
Gerrit Code Review pushed patch set 10 for main to change 94715 <span data-processor="relativetime" data-value="2026-09-07T16:38:41+00:00" > 09/07/26, 16:38 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 95728 <span data-processor="relativetime" data-value="2026-09-08T14:06:55+00:00" > 09/08/26, 14:06 </span>
-
Maike Kiebele commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-09-08T14:10:13+00:00" > 09/08/26, 14:10 </span>
Applied in changeset commit:a4278ad1fa0f9d7189bb4b849398dd25b0484831.