A publishing approval screen should answer one question before any editor presses a button: which exact revision will become visible to the public? A green badge saying “Approved” is not enough if the preview, review comments, stored draft and live page can refer to different versions of the same record.
A dependable web application draft publishing workflow keeps those versions distinct, makes permissions explicit and treats delivery acknowledgements as evidence rather than assumptions. The design below focuses on the decisions, screen details and acceptance tests needed to prevent premature exposure, lost edits and ambiguous publication outcomes.
Separate the public record from the editorial workspace
Begin with two concepts, not one mutable row marked “published.” The public record represents the last successfully committed version that readers are allowed to see. Editorial revisions are proposed replacements, each with its own content snapshot, author, review history and status. An editor can improve revision 12 without silently changing what visitors see from revision 10.
A minimal conceptual model uses a stable record identifier, an immutable revision identifier and a public pointer. The stable identifier connects all versions of a page, article, offer description or policy. Each revision contains the content and structured fields proposed for publication. The public pointer names the exact revision currently served through the public route. The application may store a rendered representation as well, but it must not confuse that rendering with the source snapshot or the publication decision.
Choose a single authority for public visibility
The public route should resolve the public pointer, then load the referenced revision. A draft save must not update that pointer. A reviewer’s approval must not update it either: approval authorizes a later publication operation. A scheduled job must not change public content until its publication commit succeeds. If a public cache or search index is used, it is a downstream representation; it cannot be the authority for deciding which revision was committed.
Record the revision identifier alongside each publication event, including who requested it, who approved it, the requested effective time, the operation identifier and the outcome evidence. This avoids arguments based on “the latest text” when multiple drafts exist. The database design must also specify whether a record can have several open branches or just one active candidate; the interface cannot resolve that policy by itself.
Make the approval screen a decision surface
The screen should lead with a compact identity strip: record name, stable record ID, current public revision and its publication time, candidate revision, candidate author, current workflow state and any scheduled action. Display “Public: revision 10” and “Reviewing: revision 12” as separate labels, not as one ambiguous status. Show the intended destination and audience without exposing private content in a public-facing link.
Below that strip, use a side-by-side or field-level comparison between the candidate and the currently published revision. Mark additions, removals and changed structured fields; provide a way to inspect unchanged context. The reviewer must be able to identify a sensitive field introduced accidentally, not merely see a polished visual rendering. The preview control should say which revision it opens and whether it is an authenticated private preview or the live public page.
- Decision controls: Approve revision, Request changes, Reject revision, Schedule publication and Publish now, shown only when the role and state permit them.
- Evidence controls: View revision diff, review comments, validation results, previous approvals, publication attempts and the last confirmed public revision.
- Risk notices: Unsaved local edits, a newer revision, expired approval, unresolved conflicts, missing assets or an uncertain publication attempt.
- Confirmation text: State the exact record, revision and destination before a consequential action; never rely on a generic “Are you sure?” dialog.
Disable an action for a reason the user can understand, but enforce the same rule on the server. A hidden button is not an authorization boundary. Distinguish “You cannot approve your own change” from “This revision changed after you opened it”; those failures require different next steps.
Define revision states before designing button behavior
A draft record publication workflow becomes testable when each state has a clear meaning and allowed transitions. Keep editorial state separate from publication-job state: “Scheduled” and “Publishing” describe operations against an approved revision, not necessarily changes to that revision’s editorial status. A single record may have a published revision, an approved replacement and another working draft at the same time.
| Revision state | Meaning | Next allowed decision | Public effect |
|---|---|---|---|
| Working draft | Editable proposal with a saved version number | Save, discard or submit for review | None |
| In review | Submitted snapshot awaiting a reviewer decision | Approve, request changes or reject | None |
| Changes requested | Reviewer wants amendments, with reasons retained | Create a revised candidate and resubmit | None |
| Rejected | Candidate explicitly declined; history remains available | Start a new candidate from a chosen base | None |
| Approved | Frozen revision eligible for publication under policy | Publish, schedule or withdraw approval | None until a commit |
| Published | Revision referenced by the confirmed public pointer | Propose a later replacement or rollback candidate | Visible to public readers |
| Superseded | Formerly published revision replaced by another confirmed revision | Inspect history or propose restoration | No longer current |
These names are illustrative, not a universal standard. A team may require two independent approvals, a compliance review or a content freeze. Whatever rules it adopts, transitions should be validated against the current stored state and an expected version, and decisions should produce durable audit entries. Do not let a browser's stale state silently authorize a transition.
Resolve concurrent editorial revisions deliberately
Suppose two editors open revision 11 at version 5. Editor A changes a headline and saves version 6. Editor B changes a disclosure and attempts to save using version 5. An unconditional update would overwrite A’s work. Instead, send the editor’s expected version with the save request. The server should reject a mismatched update and return enough information for a deliberate comparison.
The conflict screen should show the server’s current version, the user’s unsaved changes and field-level differences when feasible. Offer explicit choices: keep editing locally, copy selected changes into a new version, or abandon the local changes. Automatic merging may be safe for some independent fields but unsafe for rich text, linked assets, ordered lists and regulatory wording. The policy should specify which fields are mergeable and require human resolution for the rest.
Concurrent editorial revisions also create a review race. A reviewer may open revision 12 while an editor creates revision 13. Approval must pin revision 12, not whichever revision is newest at click time. If revision 12 changes after submission, either prohibit mutation or invalidate its review and require resubmission. “Approve latest” is a dangerous label because its referent can move between rendering and execution.
Keep rejection and withdrawal historically visible
A rejected revision should never disappear from the timeline or become editable in place without a trace. Store a decision reason, reviewer identity, decision timestamp and the reviewed revision identifier. The editor may create revision 14 based on rejected revision 12, but revision 12 remains rejected. This preserves the distinction between “the reviewer declined these words” and “the author subsequently improved them.”
Similarly, withdrawing an approval does not necessarily cancel a publication operation already executing. The interface must check the operation’s phase, report whether cancellation was accepted and avoid promising that the candidate cannot still publish. If the operation is uncertain, mark it for reconciliation rather than converting the public pointer by guesswork. A rejected candidate does not roll back a previously published revision; replacing live content requires a separate controlled publication decision.

Make every preview traceable and private
A preview is evidence of a particular revision, not proof that the public page has changed. Its header should read, for example, “Private preview — record 407 — revision 12 — snapshot saved 14:32 UTC,” with a separate link to the current public version where the viewer has permission. If rendering depends on a template or content renderer version, record that identifier too so visual discrepancies can be investigated.
Do not build previews by temporarily writing draft fields into the public record. Render from an authorized revision snapshot through a private endpoint. Require authentication and record-level authorization on every request, including requests for assets and related content used by the preview. A user allowed to review one record must not gain access to other private records by editing an identifier in a URL.
Authenticated preview permissions need end-to-end checks
Choose the intended audience explicitly: author, assigned reviewer, publisher, administrator or a narrowly authorized external collaborator if the product requires one. Permission checks should consider the record, revision and action. Someone who can view a candidate may not be allowed to approve it; a publisher may see an approved snapshot without having permission to edit the source.
- Use private preview endpoints with server-side authorization, not an obscured public path presented as security.
- Avoid exposing draft content in public site maps, feeds, search endpoints, social preview metadata or open graph responses.
- Protect document downloads, images, embedded data and dependent API responses with equivalent access decisions.
- Prevent private previews from being stored in shared caches; define appropriate private cache behavior and avoid logging sensitive preview bodies or long-lived credentials.
- Do not disclose private content in notifications. A review alert can contain a record title only when its recipients are authorized to learn that title.
- Test expired sessions, revoked access, copied preview links and direct requests to revision identifiers, not just normal menu navigation.
A short-lived preview capability can be considered where login is impractical, but it introduces forwarding and revocation risks. The design must decide what the capability authorizes, its lifetime, whether it can be revoked, and how it prevents enumeration. It should not be presented as equivalent to authenticated, individually attributable access.
Preview correctness also depends on references. If revision 12 links to an unpublished attachment, do not silently substitute a live attachment or expose a protected one without checks. Show the dependency and a clear warning. Test the desktop and mobile rendering against the same revision identity; responsive layout differences must not produce different underlying editorial content.
Control scheduling, acknowledgement and uncertain outcomes
Scheduling is a promise to attempt publication under stated conditions, not a promise that a future job will certainly succeed. A schedule should bind one immutable approved revision, one publication destination, a planned instant, the time zone used for human display, an authorization decision and a unique operation identifier. Store the execution instant unambiguously; account for daylight-saving transitions if users select local times.
State what a scheduled operation can and cannot change
If revision 12 is approved for a future release, editing its copy should create revision 13 rather than altering revision 12 beneath the schedule. The approval screen should show “Scheduled: revision 12” while separately showing “New working draft: revision 13.” Decide whether publishing a newer revision cancels the old schedule, blocks it or requires an explicit replacement of the scheduled instruction. Silent replacement is not acceptable because the approver has not reviewed the new content.
At execution time, recheck prerequisites: approval still valid, scheduled operation active, required assets accessible, intended destination valid and conflict policy satisfied. If any condition fails, retain the last confirmed public revision and report a blocked or failed job with the exact reason. A schedule may also be superseded intentionally, but that should be its own recorded transition with actor and timestamp.
Treat publication acknowledgement as stronger than a click
Separate four observations: the interface displays “Publishing”; a request was accepted or stored; the authoritative publication operation committed the public pointer; and a public reader received the new content. These events may occur at different times. A green toast immediately after a button click can prove only that the browser received a response, unless the response is explicitly tied to a confirmed server-side commit.
Design the operation record with an attempt identifier, requested revision, expected prior public revision, initiation time, current operation state and evidence of any commit. If the publication service responds with an acknowledged commit and the public pointer references revision 12, the approval screen may show it as published. If a cache still serves revision 10, report a delivery or cache propagation problem rather than rewriting the editorial history.
A timeout is different. The browser may lose its connection after the server commits, or the server may fail before committing. Both can look identical to the person who clicked Publish. Label the result “Outcome unknown — checking publication” rather than “Failed” or “Succeeded.” Reconcile against authoritative commit evidence, operation records and the public pointer, while preserving the original request identity.
A status read that says revision 10 is still public does not guarantee an earlier delayed request will never commit. The delayed operation may be executing elsewhere. Do not blindly send an unrelated retry. If the publication backend supports an idempotency contract for a stable operation identifier, retries can be designed around that verified behavior. Otherwise, investigate the original request and establish safe ordering or cancellation before another commit is attempted.
A race is especially serious if someone schedules revision 12 and another publisher releases revision 13 first. Use an explicit expected-public-revision check or another defined sequencing rule. The system should reject or require reconfirmation when the base differs, rather than allow an older scheduled job to overwrite the newer publication without an informed decision. Rollback should likewise publish a deliberately selected prior revision through an auditable new operation, not erase the intervening history.
Walk through a hypothetical editorial release
Consider an illustrative travel content application with a public destination guide identified as record 407. Revision 10 is live. Editor Maya prepares revision 11 to correct an activity description, and Editor Leon begins from the same base to update an accessibility note. These people and records are fictional; the example demonstrates control behavior, not an existing TravelTech365 deployment or customer outcome.
- Monday, 09:00: Maya saves revision 11, version 2. Leon's older save references version 1 and encounters a conflict. The screen preserves Leon's text, compares the changes and invites a new revision instead of overwriting Maya.
- Monday, 10:00: Revision 11 enters review. Reviewer Noor sees the current public revision 10 beside candidate 11 and opens a private preview labeled with revision 11. Noor discovers an unsupported claim in the activity description and rejects revision 11 with a specific reason. Public revision 10 remains unchanged.
- Monday, 11:00: Maya creates revision 12 from the rejected content, removes the claim and incorporates Leon's accessibility correction. Noor approves immutable revision 12. A separate revision 13 can still be drafted without changing that approval.
- Monday, 12:00: Publisher Ava schedules revision 12 for Wednesday at 14:00 UTC. The schedule stores revision 12, not “latest.” Ava's confirmation screen names the current public revision 10, the planned replacement and the chosen publication time.
- Wednesday, 14:00: The scheduled worker begins. Its acknowledgement times out. The operation view shows “Outcome unknown” and retains the known public state until reconciliation verifies a committed pointer to revision 12. A retry is not initiated merely because the first status check still showed revision 10.
- Wednesday, 14:03: Authoritative records confirm the commit to revision 12; the application marks revision 10 superseded and revision 12 published. A separate check finds one public cache still showing revision 10. The UI reports a delivery inconsistency without confusing it with publication authorization.
The useful artefact is the timeline, not the fictional success ending. It includes the saved version that caused a conflict, the exact rejected candidate, an approval bound to a revision, a scheduled operation and independent acknowledgement evidence. If the commit cannot be verified, the proper final state is still unknown with an escalation path, not a fabricated success or an automatic duplicate request.
This example assumes the public pointer can be updated as one authoritative commit and that operation identifiers are retained. In a system publishing to several independently controlled channels, each destination requires separate evidence and a declared partial-success policy. An approval screen should not collapse mixed outcomes into one “Published everywhere” badge.
Specify acceptance cases by role and boundary
Acceptance tests should use named revisions and observable records rather than subjective statements such as “the screen works.” The following cases can be adapted to an application's actual roles. Each begins with a known public pointer and ends with an expected interface result, stored state and authorization outcome.
Author and collaborating editor
- Given public revision 10, an author saves revision 11. The editor sees “Draft saved: revision 11, version 1,” while an anonymous reader still receives revision 10. No public pointer or cache invalidation is triggered by the draft save.
- Two editors open version 1. The first saves version 2; the second attempts a stale write. The server rejects the stale write, retains both sets of proposed changes for comparison and does not overwrite version 2.
- An author attempts to alter approved revision 12. The system requires creation of a new candidate or withdrawal and reapproval under a defined policy; the existing approval cannot silently cover revised content.
Reviewer and approval authority
- A reviewer opens candidate 12 while candidate 13 is created. Approval records revision 12 exactly, and the confirmation names revision 12. Neither screen refresh nor a later save changes the approved snapshot.
- A reviewer rejects revision 11 with a reason. The decision remains queryable with identity and timestamp; revision 11 cannot accidentally be published. Revision 10 stays public until a different approved revision commits.
- A user lacking review permission calls the approval endpoint directly. The server denies the action and leaves editorial state, audit decisions and public pointer unchanged, regardless of what the browser displayed.
Publisher and scheduled-operation operator
- A publisher schedules approved revision 12 while public revision 10 is current. The stored operation names the target and expected base. Creating revision 13 later does not silently alter the schedule.
- A scheduled job encounters invalid prerequisites or a conflicting public base. It records a blocked result and a reason; it does not expose candidate data or overwrite a newer public revision.
- A publish request times out after dispatch. The screen shows an uncertain outcome, retains the operation identifier and prohibits an unsafe new attempt until reconciliation or an explicitly safe retry contract is applied.
- Commit evidence confirms revision 12, but a cached public response still displays revision 10. The system reports publication committed and delivery verification incomplete as distinct facts.
Unauthenticated visitor and restricted collaborator
- An anonymous visitor requests a preview or guessed revision URL and receives no private draft content, including in errors, metadata, downloadable assets or cache responses.
- A collaborator authorized for record 407 tries to access a different private record by changing the identifier. Record-level authorization denies the request and does not leak the other record's name or content.
- A preview session expires or permission is revoked. Previously opened tabs cannot fetch further private revision data, and subsequent direct asset requests are denied. Verify the selected cache policy for already displayed material separately.
For every case, capture the request identity, expected version, response category, before-and-after public pointer, revision history and any operation or audit entry. The aim is to prove a boundary: draft versus public, authorization versus visibility, approval versus publication, and acknowledged commit versus merely attempted action.
Leave a decision record the team can implement and audit
Before development starts, record the few product choices that cannot be inferred from a visual mockup. Decide whether authors may review their own work, whether multiple approvals are required, how long approval remains valid, whether a schedule survives newer publication, and who may restore an earlier revision. Record how linked content is versioned, how preview access is granted and revoked, and what the team considers authoritative evidence that a publication committed.
The implementation handoff should include a revision-state diagram, a role-action matrix, an annotated approval-screen layout, an example conflict payload, a preview-access test matrix, a publication-operation state diagram and a small set of reconciliation scenarios. Each artefact should use the same vocabulary and stable identifiers so a developer, tester and editor can follow one revision across interfaces and records.
Use this concise acceptance checklist before declaring the design ready:
- Can every candidate be distinguished from the current public revision on screen and in storage?
- Does every approval, rejection and schedule identify a fixed revision and an accountable actor?
- Do stale saves and stale review decisions fail safely without losing unsaved work?
- Can an unauthorized visitor obtain any draft text, metadata, linked asset or preview response?
- Do scheduled operations preserve an approved snapshot and handle newer public versions explicitly?
- Does the interface distinguish request acceptance, confirmed commit, unknown outcome and public delivery?
- Is a retry prevented or made safe when the original operation may still commit?
- Can testers reconstruct the complete decision and publication timeline from durable evidence?
This specialized approval-and-publication design is one part of a wider application architecture. For broader context on application planning and delivery, see TravelTech365's web application development overview. The governing question for this workflow remains narrower: can a team prove exactly which revision was reviewed, which revision was committed, and which content each audience was authorized to see?
