SureDraft Get it on Atlassian MarketplaceStart free

AnswersConfluence

How do I lock a Confluence template so people only fill in the blanks?

The short answer

Not with Confluence on its own.

A restriction covers a whole page, so anyone who can fill in a template can also rewrite it. SureDraft, an app for Confluence, separates the two jobs: people answer questions, and only the words you marked change.

What Confluence does on its own

A template

A template can ask for values when someone creates a page from it. Once the page opens, those values are ordinary text, and so is everything around them.

The person who filled in the client's name can also change the payment terms.

Page restrictions

Page restrictions don't help here. Under Share, a page is open or restricted as a whole, and each person either Can edit or Can view.

There is no setting for "can edit these words but not those". Confluence's Free plan has no page restrictions at all.

An include or an excerpt

One workaround is to keep the fixed wording on another page and pull it in with an include or an excerpt.

An answer on Atlassian's forum gives that advice and adds the catch: the person can still delete the include.

How SureDraft does it

  1. Install SureDraft, then open the approved page and choose Create survey from its ••• menu, under Apps.
  2. Highlight each part that changes from one copy to the next, such as a client's name or a start date, and write a question for it.
Writing a question for a marked spot in a policy
  1. Press Publish. SureDraft creates a survey page under the document, named "Fill in:" and the document's title.
  2. Share the survey page. Each person answers the questions and presses Create draft.
A person answering the survey, with the document filling in beside it

THE DRAFT

The person answering never opens the document to edit it. They don't even need access to it.

Confluence copies the document with their answers in place, as a new page that SureDraft calls a draft.

  • By default only the survey's owners can edit a draft's wording.
  • The person who answered, and the approvers you name, can change it only by changing the answers.
A draft ready for review with its answers highlighted and an Approve button

You can also lock the document itself.

In the survey's settings, tick the box under This document and its editing is limited to the survey's owners while the survey runs.

What it doesn't change

SureDraft's locks are Confluence's own page restrictions, so Confluence's rules still apply:

  • A space admin, or anyone on the page's edit list, can lift a lock under Restrictions.
  • The lock on drafts is a setting, Restrict each draft during review. It is on unless a survey owner turns it off.
  • In a space that refuses the app, usually a personal space, the person who answered keeps edit access to their draft.
  • The locks rely on page restrictions, which Confluence's Free plan doesn't have.

If someone edits the document anyway, the survey stops making drafts until an owner checks it and publishes again.