Drupal and GovCMS

Rebuilding the front door to the Australian passport.

November 2026 6 min read
A passport with stamps, a camera, glasses, and travel receipts on a wooden table.

An Australian passport is one of the most trusted documents in the world, and for most people the path to getting one starts at a website. First-time applications, renewals, name changes, lost documents, travelling with children: the Australian Passport Office's public site is the front door to all of it, for millions of travellers a year. In 2025 that front door was rebuilt from the ground up. A new site on the Australian Government's shared, centrally managed web platform, using the whole-of-government design system, with a full content and media migration from the site it replaced.

Shared government platforms trade flexibility for assurance. Hosting, patching and security accreditation are handled centrally, and in exchange the platform is locked down. You do not install your own modules. You do not get server access. Every piece of custom behaviour has to earn its way in through the openings the platform allows.

The platform's rule was simple: no custom modules. We shipped a full custom build inside that rule.

Building inside the constraints.

On an unrestricted Drupal build, custom functionality lives in custom modules. On this platform that option is closed, so every piece of bespoke engineering was delivered through the one layer a project fully owns, the theme. Behind a design-system front end sits a substantial custom codebase: 24 focused extensions covering content import tooling, media migration services, navigation and search refinements, and component behaviour overrides. All of it is structured as proper autoloaded, object-oriented code rather than the loose template tweaks the word theme usually implies.

Working inside the constraints means finding where they actually are. When we integrated an assisted-chat service, the standard Drupal mechanism for attaching an external script would not render it with the attributes the service required. There was no error and no warning, just a script tag that never appeared. Only one rendering path on the platform delivered it reliably, and finding that path took trial and error rather than documentation. We kept the lesson as an asset. Alongside the site we designed and documented a portable, reusable chat-integration module in clean, modern Drupal, ready for any future project on a platform that does allow modules. The constraint shaped the delivery. It did not get to shape the asset.

The migration nobody briefed.

The project was scoped as a clean slate. New platform, new design system, and new content written fresh by the client's content team in a structured content workspace, flowing into the new site through a custom import pipeline we built for the purpose. The old site was, on paper, going to be switched off.

Close to launch we found the assumption was wrong. A separate application was consuming assets directly from the old site by URL, quietly, in production, in a way no brief had captured. If those addresses stopped resolving on go-live day, that application would break. There was no launch without continuity.

The old site was meant to be switched off. Then we found the system that could not run without it.

So the clean slate grew a retrofit under launch pressure. We built a migration service that pulled the legacy site's entire media library across, preserving every URL, file path and folder structure, so anything still pointing at the old addresses kept working. The legacy archive was awkward: file names full of special characters that broke naive imports, links that had to survive double-encoding quirks, and internal references that all needed rewriting to the new structure. The importer ran in controlled batches, detected and handled duplicates, and produced an audit report for every run, so we could prove nothing had been dropped rather than hope it.

The most valuable thing the project produced was the lesson, and it was about discovery rather than the build. Greenfield is an assumption, not a fact, and nobody had asked the old site what still depended on it. Run again, we would invert the approach: start from a faithful carry-over of what exists, prove nothing breaks, then strip back and rebuild on top. Migrating towards a running system is safer than rebuilding beside one and hoping the seams line up. That principle is now part of how we scope every migration.

Hardening in public.

A passport website is a phishing target by definition, so the security posture had to be strict and visible. The site runs a tight content-security policy: the browser refuses to load any script from anywhere not explicitly on the allow-list. Every third-party integration, from analytics to the assisted-chat service, had to earn its place on that list individually, and the policy held through launch. The only post-launch security work the site needed was extending that allow-list as integrations came online, which is how it is meant to work.

When a security advisory landed for the design-system component library the site is built on, the patched release was tested, applied and shipped as a coordinated hotfix across environments. That kind of fast, unglamorous turnaround is what a government site's reputation quietly depends on.

The editorial machinery got the same care. Content moves through a review workflow of draft, needs review, published and archived, so nothing reaches the public unapproved. Urgent service alerts have their own scheduling workflow, letting the client's team queue an alert to appear and expire on schedule with no developer in the loop. Search runs on a dedicated production-grade index tuned for how people actually phrase passport questions. Travellers also get a small welcome: a rotating banner of Australian destinations, from Sydney Harbour to Uluru to the Great Barrier Reef.

What this buys the Passport Office.

The Passport Office's team now runs the site themselves: authoring, review, urgent alerts and media, all in modern editorial tooling on a platform whose hosting, patching and accreditation are handled centrally. The whole-of-government design system keeps the site consistent with the rest of government and accessible by construction rather than as an afterthought. And the migration machinery, the import pipeline, the media migration service and the reusable integration work, outlives the project as assets rather than scaffolding. A site millions of travellers depend on changed platforms, and the systems quietly leaning on the old address never felt the move.

By the numbers: eight months from brief to launch, 250 tracked changes shipped, 835 configuration objects under version control, and 24 platform-safe custom extensions.

For the full project story, including the brief, the design approach and the outcomes, read the Australian Passport Office case study.

Technical specifics have been generalised for public publication.

Delivering inside a locked-down government platform?

Constrained platforms, strict security postures and migrations with dependencies nobody wrote down are the work we do.