Skip to content
MocklyDocs

Run a testing program

Approval before publishing

Have members ask before anything goes live, and approve in the studio or by a client's review link.

A site can require that what goes live was approved first. A member asks, and an owner or an admin approves, or a client does, from a link, with no account. What's approved is exactly what's published.

It's off to begin with: everyone who builds the site publishes, as described in Publishing and history.

Turn it on#

  1. In the editor's sidebar, open Site settings, then Approval.
  2. Turn on Publishing needs approval.
  3. Under Who approves, choose one:
Who approvesWhat it means
An owner or an adminMembers ask. An owner or an admin approves and publishes.
An owner, an admin, or a client with a review linkA request can also come with a link for someone without an account. They approve or ask for changes there, and your team publishes what they approved.

It saves as you change it, and applies at once, without a publish: it changes who may publish, and nothing on the site. Only the organization's owners and admins change it. Everyone else sees what it's set to.

Who must ask#

  • Members ask.
  • Owners and admins publish without asking. They could turn the requirement off, so making them ask themselves would only be for show. They can still ask, when they want someone else's word first: the publish plan has Ask for approval… beside Schedule….
  • Content editors can't publish, and can't ask.

Someone who must ask can't put a version live another way. Publishing, scheduling a publish, and Make live in History all refuse, and Make live is dimmed, saying an owner or an admin makes a version live.

An experiment's controls, such as pausing, shipping, and its traffic split, aren't publishes, and neither is a data refresh. They work as before.

Ask for approval#

For someone who must ask, Publish reads Ask for approval.

  1. Click Ask for approval, or press ⌘/Ctrl+Enter. The plan opens, with the same pages and experiments a publish plan shows.
  2. Write a Note for whoever approves: what changed, and why. It's optional.
  3. If the site takes a client's approval, check Make a review link for a client, and choose how long it works: 1 day, 7 days, or 30 days.
  4. Click Ask for approval.

The live site stays as it is until the request is approved. A review link is shown once, with Copy link: copy it then, and send it to whoever approves.

Asking is refused when a publish would be: with nothing to publish, or while the site has errors.

What's built and kept#

Asking checks and builds your editor as it is at that moment, and keeps the build, as scheduling a publish does. That exact version is what an approval puts live, whatever the editor has become since. Nobody approves one thing and publishes another.

Changes you make after asking wait for the next request. The request says when the editor has changed since.

A site has one open request. Asking again replaces it, and its review link stops working.

The open request#

The request shows beside Publish, as Waiting for approval, Approved, or Changes requested. Click it to see:

  • who asked, when, and for which version
  • their note
  • the decision, with who made it and what they wrote
  • What it changes: each file, with its lines added and removed, and any settings
  • whether the editor has changed since
  • whether a review link went with it, and until when it works

On the sites page, the site's card says Waiting for approval, Approved, to publish, or Changes requested in place of its status.

While a request is open, the editor checks it every 30 seconds, and tells you when it's approved, sent back, or published by someone else.

Approve in the studio#

An owner or an admin opens the request, and either:

  • clicks Approve and publish, which puts the build live at once, or
  • clicks Ask for changes…, writes what should change, and clicks Send back.

A request that's sent back stays for whoever asked to read, until they Dismiss it or ask again.

An owner's or an admin's approval is the last word. If a client sent a request back, Approve and publish anyway still publishes it.

When the site takes a client's approval, a request can come with a review link. The link opens the draft that was built, as a preview to click through, with a bar at the top: who asks for approval, their note, and that approving doesn't put it live.

The client types Your name, then clicks Approve, or clicks Ask for changes…, writes what should change, and clicks Send back. They need no account.

  • Approving puts nothing live. The request becomes Approved, and whoever asked is told. Anyone who builds the site, the member who asked included, then clicks Publish the approved version.
  • It's decided once. Opened again, the link says who decided, when, and what happens next.
  • The link goes with the request. It stops when the request is published, cancelled, or replaced.
  • It follows the setting. If the site goes back to An owner or an admin, the link still shows the request, and can't decide.

Anyone who builds the site can make the link and send it, so this choice trusts your team to send it to the client. The audit log records who approved, by the name they gave.

What cancels a request#

  • Cancel request…, on the open request, which asks first.
  • A publish by an owner or an admin, or a version made live in History. What was waiting is older than what's now live. The publish plan says so before you confirm.
  • Turning off Publishing needs approval. The setting says so while a request is open.

A cancelled request's review link stops working. The live site stays as it is.

Emails#

  • A request goes to the organization's owners and admins, except whoever asked.
  • A decision or a publish goes to whoever asked, unless they made it themselves.

These go to each person's account address, not to the site's notification list.

The audit log#

A request is gone once it's live or cancelled. What happened stays in the audit log: who asked for which version, who sent it back, who approved it, and the publish, with who asked and who approved. A client is named by the name they gave.

Limits#

  • An approved request can't be scheduled to go live later. An owner or an admin can schedule a publish themselves.
  • Content editors can't ask.
  • One approval is enough. There's no second approver.
  • It covers publishing only, not an experiment's controls, such as Ship….