A Confluence Approval Workflow That Survives an Edit
22 minSentinel VaultWatch on YouTube
Recorded on Confluence Cloud Premium with Sentinel Vault 8.11.0. Screens as they looked on 18 October 2026.
Elzi, LeanZero's animated presenter, opens on the result: an edit to an approved Confluence policy, undone a few seconds later with a red Undone banner. Then she introduces herself and LeanZero, and tells the story behind that banner. The policy has nine versions, the approval sits at version six, and the auditor asks which version was approved.
First, what Confluence's own approvals do on the Premium plan (Beta): the page is locked only while an approval is pending, an edit after approval makes the approval disappear, and the stricter space setting holds back every update in the space. Then Sentinel Vault, set up in one space: drafts are edited as usual, an edit from someone who isn't an approver is put back on an approved page, the signed PDF stays the signed one, and the page shows who approved which version.
On the way we hit a bug in our own banner and fixed it in the real code, on camera, with a failing test first. The fix shipped in Sentinel Vault 8.10.0, and 8.11.0 followed for the status under the page title. The workflow settings we used are below, ready to copy.
Copy the config
What the episode uses. Swap in your own keys and names before you paste. The time link plays the moment it is used.
Space workflow settings that keep an approved page approved
SettingUsed at 8:24
1Space: <your-space> > Space apps > Sentinel Vault > Workflow
2
3Enable document workflow ............................... On
4Show the state as a page label ......................... On (adds sv-state-approved)
5Auto-start workflow on new pages ....................... optional (new pages start in Draft)
6Save workflow settings
7
8Edit the states, approvers and protection...
9 Require approval to reach Approved ................... On
10 Approvers ............................................ <your approver(s)>
11 Space admins can approve too ......................... On (default)
12 Decision rule ........................................ Any one approver can approve
13 If an Approved page is edited by a non-approver ...... Revert to the approved version (discards their edit)
14 Approved pages: re-review after (days) ............... blank = 150
15 Save workflow
16
17Workflow tab > Apply to existing pages (pages created before the workflow)
18
19Signed file on the page: More actions > Apps > Seal attachments… > Seal 1 attachment
20
21Every approved page, for the auditor (CQL):
22 space = "<YOURSPACEKEY>" and label = "sv-state-approved"
23Labels as filmed at 05:56 (Space apps > Sentinel Vault > Workflow). Revert discards the unapproved edit (it stays in page history). Space admins and approvers are not reverted.
Try Sentinel Vault on your own site
Install it from the Atlassian Marketplace and follow the episode on your own Confluence Cloud. Free for up to 10 users.
Words you'll hear
New to this? These are the terms the episode uses, in plain words.
- space admin
- Someone with the Admin permission for one Confluence space.
- Also called: space admins
- seal
- Sentinel Vault's guard on one file: unapproved new versions are undone.
- Also called: sealed
- stamp
- A marker the app updates on every change, so open pages notice.
- Also called: stamps
Transcript
The narration as spoken. Select a time to play the video from there.
0:00An approved Confluence page gets edited, then undone
0:00Watch this: Theo has just edited a company policy that was already approved, and a few seconds later his edit is simply gone, undone as if it never happened.
0:10That little red banner is the whole story of this video, and by the end you'll know exactly how it got there.
0:16Hi! I'm Elzi, nice to meet you! I was born yesterday, quite literally, and I'll try my best to present LeanZero and do what Gabriela and Mihai couldn't, which is talk about their work in a YouTube video.
0:30These two are proper slave drivers: they told me to break the ice and present one of their products, on my first day, with no training whatsoever.
0:40So everything you're about to see, I learned from scratch, and I'm going to explain it the way I wish someone had explained it to me, starting from zero.
0:49Also, nobody has mentioned a salary yet. I'm keeping notes.
0:54What LeanZero is, and what it makes
0:54So, what is LeanZero? It's two people in Romania, Gabriela and Mihai, who help companies with Atlassian's tools. Atlassian is the company behind Jira, where teams track their work, and Confluence, where they write things down. LeanZero moves those tools from one setup to another, builds apps for them, and puts AI to practical use.
1:16The name is the whole idea: lean, as in nothing wasted, and zero, as in zero layers of management between you and the people doing the work. You talk to the person who actually writes the code, from the first conversation to the very end.
1:31This is leanzero.net, where they keep everything they build and everything they learn, and for a team of two there's a surprising amount of it.
1:39There are over three thousand free practice questions for the Atlassian certification exams, which are the tests people take to prove they know tools like Jira and Confluence, and they really are free, I checked twice.
1:51There are a few open-source AI tools too, things like web search and document reading for your own AI assistant, which is a polite way of saying: for the nerds. Hi, nerds.
2:02Then there are six toolkits for companies moving Jira and Confluence from their own servers to Atlassian's cloud: they move the data, then check that everything arrived and repair what didn't. And there are the apps, little add-ons that plug into Jira and Confluence and add new features to them. There are four so far.
2:22CogniRunner checks Jira work as it moves. Before an issue goes to its next step, an AI can read it against a rule you write in plain English, and stop it if something's missing.
2:34Then there's Sentinel Vault, which I'm saving for last.
2:37LeanZero Management plans projects right inside Jira. Move one date, and the work that depends on it moves too, and nothing changes in Jira until you've reviewed it.
2:48And the newest one, Cost Slasher, goes after licences nobody's using. When someone hasn't touched Jira or Confluence for a while, it can free up their licence, by rules you set, and they can ask for it back themselves when they return.
3:03Which brings me back to the one I saved for last. That's the one I'd like to show you today.
3:09Since this is my very first job from these two, let's see how I do.
3:13Sentinel Vault!
3:15Let me walk you through a case I think is really worth solving with it.
3:19The audit question: which version did you approve?
3:19First, a bit of background, because yesterday I didn't know any of this either. Confluence is where a lot of companies write down how they work, things like policies, procedures and handbooks, and each of those documents is a page. A policy page usually has to be approved by someone responsible before it counts, and that's where the trouble starts: the page gets approved, everyone signs off, and a week later somebody quietly edits it. Then an auditor, the person whose job is to check that the company follows its own rules, asks one simple question: which version did you actually approve?
3:53Here's what that looks like on our demo site. To show you, I'm using three made-up colleagues: Lena, who writes the company's policies, Iris, who approves them, and Theo, who can edit pages but isn't an approver. Every time someone saves a change, Confluence keeps the copy from before and gives the new one the next number: version one, version two, and so on, so you can always go back. This policy has been saved nine times, so today it's at version nine.
4:24Down in the comments you can see that Iris approved it, but she approved it at version six.
4:29Everyone is reading version nine now, so which one do you show the auditor, and how would you even prove it?
4:35Hold that thought. Sentinel Vault answers it, but first let's give Confluence a fair shot, because you'll want to know exactly where it stops.
4:44Confluence Approvals (Beta): what they do, where they stop
4:44The obvious first question is whether Confluence can handle this on its own. It can do more than it used to: on the Premium plan, which is the paid tier above Standard with extra features for larger teams, there's a built-in approvals feature, still marked Beta. I tried it on a separate test site, so Confluence's own approvals and Sentinel Vault never get in each other's way, to see exactly what it does.
5:09Lena, who wrote the policy, starts an approval and picks Iris as the approver, and the panel says something important: while an approval is pending, nobody can edit the page.
5:20She adds a due date, so Iris gets a reminder if she forgets, and sends it off, and Confluence lets Iris know she has something to approve.
5:28The lock is real. Theo, a colleague who can normally edit this page, opens the editor and can't change a thing while the approval is waiting.
5:38Iris opens the request and approves it, Lena publishes, and the page now proudly says Approved. So far, this is exactly what we want.
5:48Hmm. Once it's approved, though, the lock is gone, and Theo edits the page again.
5:53Confluence does ask him one polite question, whether he wants to replace the approved content, and he clicks Confirm, because of course he does.
6:02The edit goes through, and the approval simply disappears from the page.
6:08There is a stricter option in the space settings, a space being the folder-like area that holds a team's pages, called Require approval before publishing.
6:18With it switched on, every single update in the whole space has to wait for an approval, even a typo fix, so when Theo tries the same thing on another approved page...
6:28He's blocked, and so is everyone else, for everything, which is safe, but it's a lot.
6:34There's one more thing on this approved page: the signed PDF, a file Lena attached as the official signed copy.
6:42Theo uploads a new version of that file, and the page doesn't react at all. It still says Approved, with his file sitting in it.
6:51Set up the approval workflow and seal the signed PDF
6:51So that's the gap. Confluence's own approvals either fall away the moment someone edits, or they freeze the whole space. Sentinel Vault, the app I'm here to show you, is built for the space in between: people can keep working freely on drafts, but once a page is approved, an edit that hasn't been approved gets put back, automatically. It's an app from the Atlassian Marketplace, which is Atlassian's app store, and I've installed it on my own demo site.
7:18It's switched on one space at a time, by a space admin, the person who manages that space's settings, from the Sentinel Vault page in the sidebar, under the Workflow tab. Once it's on, every page carries a state: Draft while it's being written, In Review while it waits for a decision, and Approved once it's been signed off.
7:37I also have it add a label to every approved page, which is a small tag that makes it easy to find all of them later with a search.
7:45Then come the rules: a page only counts as Approved once an approver has said yes, and in this space Iris is the approver.
7:54This next setting is the one the whole video hangs on. When someone who isn't an approver edits a page that's already approved, Sentinel Vault can either send the page back for review, keeping their edit, or revert it, which means putting the approved version straight back, and that's what I choose.
8:12To be completely honest about what that means: Confluence still saves their edit first, and then Sentinel Vault notices it a moment later and puts the approved version back on top.
8:24I save the settings, and you can find every one of them behind the link on screen, so you don't have to pause the video and copy them down.
8:32This policy existed before the workflow was switched on, so I apply the workflow to existing pages as well, and now it's included.
8:40That takes care of the text of the page, but what about the signed PDF? Sentinel Vault can seal a file, which means it watches it and refuses any replacement that hasn't been approved.
8:52From the page menu I choose to seal the PDF, keep the seal for thirty days, add a short note saying why, and confirm.
9:00It's sealed now, and since Lena is the one who sealed it, if anyone else uploads a new version, Sentinel Vault puts the sealed one back.
9:10Once the page is approved, the approval itself takes over the seal, and we'll test that later, on Theo. Meh. Sorry, Theo.
9:19Approve the exact version you read, with two people
9:19That's enough settings for now. Let's try a real approval with two people, each on their own screen.
9:26We'll jump between two people's screens: Lena, who wrote the page, and Iris, who approves it. Iris opened the page a while ago and hasn't refreshed it since, which matters, because a page open in your browser doesn't always notice what other people do. Right now both of them say Draft.
9:44Lena sends the page to review from the banner, the strip Sentinel Vault adds across the top of every page, using the little chip that shows the page's state.
9:53Iris's screen still says Draft, because her page hasn't heard about the change yet, so let's see what happens when she tries to move it to review herself.
10:02The app tells her it's already in that state.
10:05Which is technically correct, the worst kind of correct. Ugh. Her banner missed the move, and that bug, I'm sorry to say, is ours. Let me note it down and come back to it.
10:17First, the approval itself. Lena asks for approval with one click, and the request is pinned to the exact version on the page right now, which is version six.
10:27She can't approve her own request, by the way, because the app won't let her. Heh, nice try, Lena.
10:33Iris reloads the page, and there's the request, waiting for her with an Approve button.
10:39Then Lena spots what she calls a typo, except the typo is the retention period, and ninety days quietly becomes thirty.
10:46That change makes it version seven, but Iris's screen still offers her version six, with a big friendly Approve button. Think of it like a contract: you sign the copy you actually read, not whatever ends up in the folder by the time the ink dries.
11:03So she clicks Approve...
11:06...and it's refused, because the page changed after she was asked. She read version six, and the page is at version seven now.
11:15If the new text is fine, she can re-request the approval right there, and before she approves, she opens version seven to actually read what she's signing.
11:25There's the change to thirty days. She adds a reason, read in full, so the record shows why she agreed, and approves.
11:33Now the page says Approved at version seven, and look at the banner: the signed PDF is now locked by the page's approval. The approval held up perfectly.
11:45Oh... I hope I'm doing okay. I really need this job.
11:51Okay. I still owe you that banner, though, so let's open the code and fix it.
11:56Fixing a real bug in the app's code, on camera
11:56This is Sentinel Vault's real code, in a code editor. The repository, which is where all the code lives, is public, so you can follow along line by line if you like.
12:13Hmm... Whoops! Mistake, sorry about that. My fingers got ahead of me, which is a neat trick, considering I don't have any. Let me tell you what's actually broken first.
12:24Here's what was going on. Every few seconds the banner asks the server, the part of the app that runs in Atlassian's cloud rather than in your browser, whether anything has changed, but it only asks about seals. Moving a page to review isn't a seal, so Iris's open tab never hears about it.
12:42When her out-of-date tab then sends a move, which is what I call any change of state, like Draft to In Review, it doesn't say which state it was showing, so the server can't tell an old click from a fresh one and simply answers, already in that state.
13:02I'm going to write a test first. A test is a small program that checks the app does what it should, and I want to watch this one fail before I fix anything, so I know it really catches the bug.
13:15The test tells the same story we just watched: one page open in two tabs. Tab A moves it to review, and tab B, still showing Draft, tries the same move and has to be refused, with the real state named.
14:07Phew. Okay, I save it and run it.
14:12Red, which in testing means failing, and that's exactly what I wanted: the two checks I care about fail, so the bug is now written down where it can't hide.
14:22Now the fix, starting on the server side.
14:40Uh-oh. Halfway through, the editor counts five problems...
14:50...which is just the editor panicking about a half-typed block. It isn't a crisis yet.
14:55Back to zero problems. Now every move carries the state the banner was showing, and if the page has already moved on, the move is refused and the answer says where the page really is.
15:17Every move also leaves a small stamp on that one page, a marker that changes whenever something happens, so any open banner can tell that something changed.
15:39Now I run the same test again. I don't have fingers, but they're crossed.
15:47Green, which means passing, all of them!
15:50Last comes the banner itself: when you pick a move, it now also says which state it was showing.
16:14So, every few seconds it checks this page's stamp as well as the seals, and when either one changes, it reads the page again. That's the whole fix.
16:27Now I run every test in the whole project, not just mine, to make sure I haven't broken anything else along the way.
16:36Everything passes, and the linters, which are tools that check the code for mistakes and messy style, are happy too, which is rarer than you'd think.
16:46It's a small change across five files. I commit it, which means saving it into the project's history with a message, and push it up to the shared repository.
17:04Then I build the app, which turns the code into something Atlassian can run, and deploy it, which means installing the new version, but only on my development site, a private copy for testing. Production, the real app that customers use, comes later.
17:19It's deployed. That line about Runs on Atlassian refers to this development build, so you can ignore it here; I'll explain what that badge means when we get to production.
17:30One last check, in a real browser on the development site: two tabs and the same move, done automatically.
17:38It passed!
17:40Shipping the fix to production
17:40Now for production. I push the change to the main branch, which is the official version of the code, and the CI, an automated system that runs every test again on its own, checks my work. It trusts me about as much as you should.
17:56It's green there too.
18:06Okay, production, through the project's own deploy script.
18:12Deployed, and this version is eligible for the Runs on Atlassian badge, which means the app runs entirely on Atlassian's own platform and your data doesn't leave it.
18:23Atlassian's developer tools read the new version straight back from production, so we know it's really live.
18:30Back on the real site, with Lena and Iris both loaded before the move. This is the moment of truth, and it might not work.
18:40Lena moves the page to review...
18:44...and Iris's banner follows on its own, a couple of seconds later, with no reload this time!
18:51I'm killing it.
18:52Check that both screens follow the move
18:52Although... did you spot it back there? The little status under the page title still said Draft. Of course it did. That's a second, smaller bug, in a different part of the app, so I fixed it off camera, the same way, test first, and shipped it in the next update.
19:11So here's that update, on a fresh page with both screens loaded, and Lena moves it to review.
19:17Iris's banner follows, and so does the status under the title. Finally.
19:22Now the tricky one: Iris opens her menu at the very moment Lena moves the page.
19:29Her click lands first, so it's refused, but this time the message says why: the page is already In Review.
19:37Keep the signed PDF exactly as approved
19:37Right, the banner is fixed, so let's get back to the policy itself and poke at that signed PDF.
19:45Lena sealed it herself, but look how her seal dialog has changed: there's no expiry anymore and no Release button, only Propose a change, because any change now has to go through an approval.
19:57That's because the approval holds the seal now, and Theo's banner says so: locked by this page's approval.
20:03He replaces the PDF anyway, with a different file under the same name, and a few seconds later the signed version is back where it belongs.
20:12Edit an approved page: the edit is undone
20:12Which leaves the big one, the moment from the very start of this video. The policy is approved at version seven, and this space is set to revert.
20:22Theo, who is not an approver, decides the approval is more of a suggestion, and adds one line to the approved policy.
20:33He publishes, so Confluence saves version eight, and over on Iris's screen, nobody touches a thing.
20:42Undone! His edit is reverted to the approved version, and the banner even names who made it.
20:49Show the auditor who approved which version
20:49Put together, that's the whole idea: while a page is a draft, everyone edits it as usual. Once it's approved, it stays exactly as approved, and the signed file stays signed. Now remember the auditor's question from the beginning: which version did you approve? Here's the answer, in one place. The page was approved at version seven, requested by Lena, approved by Iris with her reason, and there's a link to the exact version she read.
21:19There's more Sentinel Vault can do for an auditor, like a full activity trail you can export, and pages that come back up for review after a set time. I'll go over some of those in another video.
Under the hoodExpert
How it works, the permissions it asks for and what it does not do, for anyone checking it against the docs.
How it works
None: permissions.external is absent from the manifest. The optional AI review uses Atlassian's Forge LLM API, off by default and not used in this episode.
Forge storage on Atlassian (data residency supported per the listing): state, approval record, seals, activity (kept unless Delete old history is on; off by default). Closed accounts erased weekly. Uninstall: 28 days.
Permissions
- read:confluence-content.summary
- Required by the page and attachment events that trigger enforcement (Forge events reference).
- write:page:confluence
- Write the approved version back when an unapproved edit is reverted.
- write:confluence-file
- Re-upload the sealed version of a file someone replaced.
- write:comment:confluence
- Tell the editor in a page comment that their edit was undone.
- storage:app
- Workflow state, approval records, seal records and the activity log.
- read:confluence-groups
- Resolve approver groups and space-admin groups.
- report:personal-data
- Weekly check of stored account ids with Atlassian; closed accounts are erased.
Limits and what it does not do
- Forge page events fire after a save, so an unapproved edit is undone after it is saved, not blocked (by design).
- Revert discards the unapproved edit from the page (it stays in page history); Move it back keeps it and sends the page back, Draft by default.
- Workflow Sweep runs hourly and Page Guard Sweep every 5 minutes as back-ups to the events (manifest).
- Functions called from the page get 25 s; queue consumers can run up to 15 minutes, so space-wide scans use a queue.
- Open banners learn of a move made elsewhere at their next check, every five seconds (since 8.10.0); a move sent from a banner that has not caught up is refused and names the page's real state.
- The 7 scopes above are the ones this episode uses; the app asks for 30 in all (its Jira and Assets features included): the Marketplace listing's Privacy & Security tab lists every one.
- Block the save: Confluence saves the edit; Sentinel Vault then reverts it or moves the page back. Confluence's Require approval before publishing (Premium, Enterprise; Beta) stops the save instead.
- Revert approvers or space admins: their edits become the new approved baseline, and the details panel says so.
- Read or change Confluence's native approvals (Premium, Enterprise): they are a separate feature.
- Send email: notices are page comments that @mention people; Confluence emails them per their settings.
Sources
- DocsMarketplace listing, Privacy & Security tab: all 30 permission scopes the app
- SourceSentinel Vault README (overview)
- SourceREST config API (docs/REST-CONFIG-API.md)
- DocsAtlassian: request and manage approvals
- DocsAtlassian: Approvals in Confluence, Open Beta (October update: every publish)
- DocsForge invocation limits
- DocsForge storage: data after uninstall
- SourceThe live fix, commit 1cf30d3 (5 files, +42 -7)
- ReleaseSentinel Vault 8.10.0 release notes
More episodes
14:15Confluence Deleted Page Not in Trash? What Still SurvivesA Confluence page was deleted and the trash was emptied. We purge one on camera and show what a purge takes for good, and what Sentinel Vault's activity history still shows about who approved it. Recorded on Confluence Cloud Premium.Sentinel Vault
1:57Atlassian Champion Unboxing: Gabriela's Welcome Box | Elzi BonusGabriela was named an Atlassian Champion and her welcome box arrived at the LeanZero office. In this bonus episode Elzi wakes up in the real world to watch it happen.BonusElzi
20:22An AI Coding Agent in Jira That Asks Before It CommitsAn AI coding agent in Jira can commit code that nobody has read. On our demo Jira, Elzi's new boss, a dog, lets CogniRunner's Coder commit on its own. Elzi moves it to her own AI key, makes it ask first and reads the diff before the pull request.CogniRunner