Drupal and GovCMS

How we migrated a high-security member portal to Drupal.

8,463 documents. 40+ member jurisdictions. Access rules that could not change.
September 2026 4 min read
Earth's curved horizon with a dark background, showing land and glowing cities at night.

The Asia/Pacific Group on Money Laundering (APG) runs a secure document library for its member jurisdictions. Behind the public website sit thousands of reports, evaluations and policy documents, with access controlled by membership tier, jurisdiction and, in some cases, individual user.

The existing portal had been built on a customised proprietary CMS with no practical upgrade path. APG needed to move the entire platform to Drupal without changing who could see what.

Everything else was a content migration. The permissions were the project.

8,463
documents migrated
7GB+
secure files preserved
1,349
member-document links restored
40+
member jurisdictions

Migrating 8,463 documents into Drupal.

We were given a database export from the legacy platform rather than a live connection to it. The document library contained more than 8,400 documents and over 7GB of files, along with categories, member entitlements, user accounts and years of news.

We chose to transform the data before importing it. Custom scripts converted the legacy export into structured files that matched Drupal's content model. They resolved internal references, preserved visibility rules and paired each document record with its physical file. That gave us a repeatable migration we could validate before anything entered Drupal.

The archive had its own complications. Thousands of physical files were named download.pdf, with their real titles stored only in the database. We rebuilt each document from its metadata and used its record ID to locate the correct file.

We also changed technical approach partway through the build. Drupal's standard migration framework worked for some content, but became difficult to manage around the field carrying document access rules. Focused import scripts gave us clearer control and were easier to test and rerun.

The result: 8,463 documents migrated, more than 7GB of secure files preserved and 1,349 member-document links restored.

Preserving access at every point.

APG's permissions go beyond standard CMS roles. Anonymous visitors see public content only. Three membership tiers sit above that, each with different access. Individual documents can be restricted further to specific jurisdictions, roles or users.

Those permissions have to hold wherever a document appears. Restricted content is filtered from pages, listings and search results. Files remain protected against direct-link access. Two users can run the same search and see different results based on their permissions.

We migrated the old system's visibility rules as structured data rather than hard-wiring them into application code. APG administrators can manage those rules through Drupal without requiring a deployment.

Search needed separate attention. An off-the-shelf option allowed restricted document titles to surface under certain conditions, so we replaced it with an implementation that applied APG's access rules at query time.

User accounts and subscriptions came across too. Existing users reactivated their accounts through their verified email addresses, so no legacy passwords were transferred between systems.

Testing the permissions, not just the migration.

Access-control failures can be difficult to spot. The platform can appear to work while showing one document to the wrong person.

We tested the portal from the perspective of anonymous users, each membership tier and users holding multiple roles. Those checks covered pages, file downloads and search results.

That testing caught a problem in our own process. An early role-switching tool appeared to show the permissions working correctly. Drupal cached access against the user identity, so changing the role on the same account did not accurately reproduce a different user's experience. We replaced it with separate test accounts for each tier and tested them end to end.

Tested again in production.

After launch, an automated crawler began working through every possible combination of document filters. It generated 26,901 requests in a short period.

We changed the server to enforce the same one-filter-at-a-time behaviour available through the interface. Invalid combinations are now rejected before expensive processing starts, and filter pages tell search engines not to index or follow them. The fix reduced unnecessary load without removing categories or changing how members browse the library.

A secure archive on a platform APG can maintain.

APG now runs its member portal on Drupal with the full document archive and its access rules intact. Editors can manage content, permissions and subscriptions through the CMS. Search follows the same access rules as the rest of the portal. Deployments are repeatable and the permissions can be tested automatically.

The archive is easier to manage, easier to test and no longer tied to a proprietary platform with nowhere to go.

Planning a secure Drupal migration?

Tell us what needs protecting. We'll plan the migration around it.