GDPR for CKAN portal user accounts

A CKAN portal stores user accounts, emails and API tokens, so the GDPR applies to its database, dumps and exports. CKAN provides controls for access, registration and metadata exports, but the controller still decides lawful basis, retention and transfers.

On this page

How GDPR applies to CKAN portal user accounts

The GDPR applies to personal data in your CKAN portal database, database dumps and exports, including user names, email addresses and API tokens held for every account. CKAN gives you configuration controls over registration, visibility and access, but it does not make a portal compliant by itself. Compliance depends on what your organization decides and documents: why it holds each account, how long it keeps the data, and who may see it. The platform helps most with the security of processing under Article 32, such as restricting who can register, limiting sysadmin roles, protecting the database and dumps, and controlling what an export contains. It does not decide your lawful basis, set your retention periods, authorize transfers to third countries under Chapter V, or decide whether a breach must be reported to a supervisory authority.

The GDPR requires no audit, attestation or certificate. Certification under Article 42 is voluntary, is issued for at most three years by accredited certification bodies or supervisory authorities, and does not reduce the controller's or processor's responsibility for compliance. Any claim that a CKAN portal is GDPR certified should prompt the question of which scheme and which body issued it. DeployOpen configures the portal, documents the settings, and prepares evidence such as configuration records, access reviews and export procedures that your data protection officer and auditors can examine. DeployOpen does not issue audit reports, attestations or certifications; independent auditors and certification bodies do. Ask any partner, including us, to state in writing which controls it will configure and which evidence it will hand over.

As of October 2026, the GDPR text has not been amended. Two European Parliament procedures are pending: Omnibus IV, procedure 2025/0130(COD)), whose text was agreed in interinstitutional negotiations on 26 June 2026 and awaits Parliament's first-reading vote, and the Digital Omnibus (procedure 2025/0360(COD)), which awaits a committee decision. Plan against the current text, and check the Legislative Observatory again before each review of your account controls, since changes to controller duties could affect how you document accounts. Regulation (EU) 2025/2518 also sets additional procedural rules for cross-border complaints and investigations and applies from 2 April 2027.

Mapping GDPR obligations to CKAN portal controls

This table maps the GDPR requirements most relevant to a CKAN portal's user accounts to the platform components that support them and the settings the controller must choose. Read each row in two parts: what CKAN can show or enforce, and which decisions on retention, transfers and breach response stay with the controller. The main takeaway is that the platform supports access control and record keeping, but it does not detect breaches or handle data subject requests unless your version's documentation confirms it.

GDPR requirementCKAN capability or componentConfiguration the controller needs
Article 32: security of processing, access controlRoles, private datasets and sysadmin accounts in CKAN; SAML2 role mapping if you use ckanext-saml2authLimit sysadmin accounts, set registration rules, and review who holds API tokens on a schedule
Article 32: encryption and hardeningWeb server and database settings you deploy around CKANTerminate HTTPS at Nginx, restrict PostgreSQL network access and confirm encryption at rest with your storage team
Articles 24 to 43: controller and processor dutiesUser records, emails and API tokens stored in the PostgreSQL databaseDocument which personal fields you hold, why you hold them, and who can query the database
Articles 33 and 34: breach notificationCKAN does not detect breaches; log sources come from your web server, database and hostingConfirm CKAN activity logging in your version, centralize logs and write your notification procedure
Articles 44 to 50: transfers to third countriesHosting location and any external SSO, email or harvesting services you connectChoose hosting region in your own cloud or data center, and list every external service that receives user data
Database dumps and metadata exportsDatabase dumps contain user tables; confirm which metadata exports include user fieldsKeep dumps encrypted and private, and test each export for personal data before sharing it
Registration and account settingsCKAN registration options and user profile fieldsDecide whether public sign-up stays open, minimize profile fields, and set a retention rule for inactive accounts
Data subject rights requestsNo CKAN feature for access or erasure requests is assumed hereWrite a manual request procedure and confirm in your version's documentation which account actions are available

Personal data leaves a CKAN portal through a few known paths

The diagram starts with a browser or API client calling the portal over HTTPS, which passes through Nginx to the CKAN web application running under uWSGI. Account records, emails and API tokens are stored in the main PostgreSQL database, so that database and its dumps hold the most personal data. Search metadata goes to Solr, and resource rows loaded into the DataStore go to a separate PostgreSQL database that has a write user and a read-only user. An optional SAML2 identity provider handles sign-in when ckanext-saml2auth is enabled. Dumps and backups should stay inside the client's infrastructure. The DCAT RDF export is the main exit point, so check what each export contains before it reaches an external catalog.

Personal data moves through the database, search index, backups and DCAT exports.

Where CKAN keeps accounts, emails and tokens in a GDPR review

Personal data in a CKAN portal spreads across several components, and each one stores, copies or exposes account and contact details in its own way. A review has to trace each copy separately before deciding what to keep, restrict or delete. The cards cover the six places to check first.

Main PostgreSQL database

This database holds the user table, which includes account names, email addresses and API tokens, along with group and membership records. It matters most in a review because access and erasure requests have to reach these rows and the tokens tied to them. Confirm which user fields your registration and profile forms collect, who holds direct read access to the database, and how your CKAN version stores API tokens, since that determines what an exposed copy would reveal.

DataStore database

Resource rows loaded into the DataStore sit in a separate PostgreSQL database, and the Data API serves them to anyone who can read the resource. A published CSV that contains names, contact details or case numbers becomes searchable and downloadable through the API. Confirm which resources are loaded, whether private datasets are kept out of the Data API, and which database role the Data API uses for reads.

DataStore docs

Solr search index

Solr indexes dataset metadata so search works, and the index keeps copies of indexed fields until they are removed and reindexed. Maintainer and author fields are common places where a person's email or name ends up in public search results. Confirm which user-related fields your schema indexes and stores, whether deleted users or retired contact details disappear from the index after reindexing, and who can query Solr directly.

Redis cache and queues

Redis holds cache entries and the queues that background workers use for jobs such as indexing and DataStore loading. Job payloads can name the user who triggered an action, so a queued job is a small copy of personal data. Confirm which jobs your extensions enqueue, how long Redis keeps completed and failed jobs, whether Redis persistence writes snapshots to disk, and who can reach the Redis port from outside the portal's network.

Web and worker logs

Web server access logs record client IP addresses and request paths, and CKAN paths such as user profile pages include account names. Worker and application logs can capture request data or token values when logging is verbose or errors print full requests. Confirm your log format and redaction rules, how long each log is kept, which teams can read them, and whether a log shipper sends them to a service outside your own infrastructure.

Database dumps and backups

A full database dump copies every table, including accounts, emails and tokens, and backups often outlive the live data they copy. Backups are usually the least controlled copy, so reviewers ask where they are stored, who can restore them and how an erasure request reaches them. Confirm the backup retention period, the encryption and access controls on backup storage, and whether restores into test environments remove or mask personal data. The security of processing duty in the GDPR applies to these copies too.

GDPR text

Setting up GDPR controls for CKAN portal user accounts

This sequence turns GDPR obligations for a CKAN portal into configured controls, each with a named owner and a piece of evidence. It starts with knowing where personal data sits, then sets registration, sign-in, privileged access and tokens before covering dumps, backups and exports. It finishes by confirming the CKAN release line is supported and retesting after changes.

  1. Inventory every store that holds personal data

    Ask the platform lead and the data protection lead to list each place personal data lives: the CKAN database tables for users, emails and API tokens, DataStore databases, the activity stream, web and worker logs, the Solr search index, Redis, uploaded files, database dumps, backups and metadata exports. Each entry needs an owner, a purpose and a retention rule. The step is done when the inventory is signed off and every later step refers back to it, so no store is left unreviewed.

  2. Decide and document the registration model

    The policy owner, with the data protection lead, decides whether anyone can create an account on the portal, whether new accounts need administrator approval, and whether accounts can only come from an identity provider. Record the decision in a short registration statement that says what data is collected at sign-up and why. Then match the CKAN configuration to that statement and keep the configuration files in version control. The step is done when a reviewer can compare the written statement with the live settings and find no gap.

  3. Connect single sign-on and map roles

    The identity team connects the portal to the organization's identity provider if one is used. The ckanext-saml2auth extension adds SAML2 sign-on to CKAN 2.10 and later, and can assign organizations and roles from SAML2 attributes. Map attributes to roles in a written document, and confirm how the extension manages sysadmins before relying on it. Test sign-in with named test accounts covering each role, and confirm that a disabled identity also blocks CKAN sign-in and that local password accounts are removed or locked. Evidence is the attribute mapping document and the test results.

  4. Limit sysadmin and database access to named people

    The platform lead builds a list of named people who hold sysadmin rights in CKAN, and a separate list of people with direct PostgreSQL access. Remove shared and generic accounts. Keep the DataStore write user and the read-only user separate, and give the read-only role to any tool that only needs to query data. The step is done when both lists and the DataStore role assignments are exported, each name has an approver, and a reviewer confirms the lists match the people who should have access.

  5. Set up API token issuance and review

    The platform lead and the security owner define who may create API tokens, how long they stay valid, and how a token is revoked when someone leaves or a key may have leaked. Tokens are stored in the CKAN database and are linked to user accounts, so they count as personal data. Test that a revoked token stops working, then run a scheduled review of active tokens and record who approved any long-lived token. Evidence is the token policy, the revocation test result and the review log.

  6. Lock down dump and backup storage

    The infrastructure owner restricts access to database dumps, file storage and backup sets to the named operators from the access step, and encrypts them at rest where the storage platform supports it. Confirm that dumps made for testing or migration are either deleted or moved under the same controls, and that backup retention matches the inventory. Restore one backup to a test environment and check that the restored copy keeps the same access restrictions. Evidence is the access policy, the encryption settings and the restore record.

  7. Review DCAT and metadata exports for contact emails

    The metadata owner reviews every export the portal produces, including DCAT RDF endpoints from ckanext-dcat, harvester outputs, package API responses and any custom templates. The goal is to find user email addresses and personal contact fields that should not be public. Maintainer and author fields on datasets are a likely place for personal addresses to appear. Where a contact is needed, replace the personal address with a role mailbox. The step is done when a sample from each export format has been checked and the findings are logged.

  8. Confirm release support and retest after changes

    The platform lead checks that CKAN and its extensions sit on a release line the project still supports, which under the release policy means the latest patch of the current minor version and the previous minor version. Apply outstanding patch releases, which do not include schema changes or new features, and plan minor upgrades as separate changes because they may be backwards-incompatible. Then rerun the sign-in, token revocation, access and export tests. The step is done when the retest results, the version record and the signed-off inventory are filed together.

Keeping database dumps private and exporting metadata without user data

Treat a full database dump as personal data, because it is one. A CKAN PostgreSQL dump includes the user table with account names, email addresses and password hashes, and it can include API tokens stored in the database. That means the dump needs the same controls as the live database: encryption at rest, restricted access, a named owner, and access logs that show who copied, downloaded or restored it. Article 32 of the GDPR requires appropriate technical and organizational security for personal data, and a backup sitting in an unlogged file share is the first weak point an assessor or breach investigator will look for. Set a retention period for dumps and delete them on schedule, because an old copy holds the same personal data as today's database.

Pseudonymized copies can serve restore testing when the test does not need identifiable people. Start by listing what each test needs: login and permission tests can use accounts you create, and dataset tests rarely need a user's name or email. Then decide which fields to change: replace the email and name columns in the user table, reset password hashes to values nobody knows, and delete API tokens so no restored token can authenticate. Check dataset maintainer and contact fields too, since they can hold personal emails that the user table never shows. Keep any mapping from pseudonyms back to original accounts outside the test environment, because a lookup table that links them is still personal data. For example, an illustrative staging copy might swap each email for a generated address on a domain you control and record which owner approved the transform in your processing records.

Metadata exports need their own check, because a clean database does not guarantee a clean catalog feed. The DCAT RDF endpoints from ckanext-dcat publish dataset fields, and maintainer and contact fields can carry a named person's address. Sample exports before opening an endpoint to the public or to a harvester: request a representative set of datasets, search the RDF for email patterns and personal names, and compare what you find with what your dataset schema is meant to collect. Confirm the extension supports your CKAN version before you test. The extension lists support for CKAN 2.10 and 2.11, and CKAN 2.12.0 was released on August 26, 2026, so a 2.12 portal needs its own compatibility check against the extension's current documentation and a staging test before any upgrade. Agree each fix with the dataset owner as a schema or content change, and keep the sample results with the review record.

Evidence a GDPR review of CKAN accounts will ask for

These six records show how the portal controls user accounts, where personal data travels, and how incidents are handled. Keep each one dated, owned and refreshed on a schedule, so the file reflects the system as it runs now. The GDPR does not require an audit or certificate, and auditors and supervisory authorities decide what evidence is sufficient. DeployOpen prepares these records but does not issue reports or attestations.

Exported configuration baselines

Keep a dated export of the CKAN configuration that governs accounts, including the registration settings that decide whether anyone can create an account without approval. Store one baseline per environment and per release, and compare each new export with the last approved one. A reviewer will want to see that production matches what the controller documented, and that every change went through a recorded approval. Confirm which settings your version reads, and check that the export excludes secrets such as database connection strings and API keys.

Sysadmin and database role lists

List every sysadmin account on the portal and every database role that can read the user table or the DataStore. For each entry, record who approved it, the business reason, and the date it was last reviewed. Include the read-only and write roles used by the DataStore, since those roles can reach user-linked data if they are granted too broadly. A reviewer will ask how stale access is removed, so keep the revocation log beside the list. Generate the list from the live system at each review, so it matches the database.

SSO configuration and role mapping tests

If the portal uses SAML2 single sign-on, keep test results showing that each identity provider attribute maps to the intended organization and role. The ckanext-saml2auth extension can assign users to organizations and roles from SAML2 attributes and manage sysadmins through an email list, so a wrong attribute value can grant an administrator role. Record test logins for a standard user, an organization editor, and a user who should have no sysadmin access, with the date and the identity provider version tested. Keep these results with the change record for each mapping update.

ckanext-saml2auth repository

Dump storage and access logs

Document where database dumps are stored, who can read them, and how access is logged. Dumps carry personal data too, including user names, email addresses and any API tokens stored in the database, so the storage location belongs in the processing record. Keep the encryption settings, the access list for the storage location, and the logs showing who downloaded or restored a dump. Check that old dumps follow the same retention rule as live data, and that test restores run in a separate environment with equivalent access controls. Ask your hosting provider which log fields are retained and for how long.

Sample DCAT exports and contact fields

Export sample DCAT records from the portal and check how contact and maintainer fields are handled. The ckanext-dcat extension serializes dataset metadata into DCAT profiles, so a publisher's personal email address can appear in a public RDF feed or a harvested catalog. Keep a dated sample for each profile you publish, with a note on which fields carry a shared role mailbox and which carry a named person. Re-run the sample after schema changes and after any upgrade of the extension.

ckanext-dcat repository

Tested incident steps for Articles 33 and 34

Keep written steps for personal data breaches that cover notifying the supervisory authority under Article 33 and informing affected people under Article 34. Name the people who decide on notification, the account actions to take, such as resetting passwords and revoking API tokens, and who signs off on each message. Walk through the steps in a tabletop exercise and keep the record, including what changed afterward. Have counsel confirm the deadlines and thresholds that apply in each jurisdiction where your users live.

GDPR text on EUR-Lex

Choosing a registration model that limits personal data

Open self-registration lets any visitor create an account through the portal's sign-up form. It suits portals where the public comments, follows datasets or requests access, and where nobody needs publishing rights. Because anyone can register, the portal stores a full account record for every registrant, so the personal data controls must be in place from the first day the form is public.

  • Data collected: username, full name, email address, a password hash, and any profile fields the form adds. API tokens created later also sit in the database.
  • Who approves: nobody approves the account before it becomes active. Any review happens afterwards, when a sysadmin looks at accounts or removes them.
  • What to confirm: whether web sign-up is enabled in your version's configuration (check the ckan.auth.create_user_via_web key in the configuration reference for your release), which fields the form asks for, and whether a spam control sits in front of it.
  • Evidence produced: the user table, account creation records in the activity stream, and a dated copy of your configuration showing what the public could do at a given time.

Before you publish the sign-up link, confirm the setting, the fields collected and your rule for removing dormant accounts.

What CKAN and DeployOpen cannot settle for the controller

CKAN and DeployOpen can configure, document and test a portal, but the legal decisions around its user accounts sit with the controller and its counsel or data protection officer. The cards below name each gap, who owns it, and what to confirm in your own CKAN version before sign-off.

Lawful basis and privacy notices

Each purpose for which the portal holds account data needs a documented lawful basis under Article 6, and the registration page needs a notice that states what is collected, why and for how long. Account emails, profile fields and API tokens may serve different purposes, so each may need its own basis. The controller owns the notice text, and counsel or the data protection officer decides the basis and wording. DeployOpen can place the notice in the registration flow, but approval stays with the controller. Check that the notice matches the fields the live registration form actually collects.

GDPR text on EUR-Lex

Retention schedules for accounts and logs

A retention schedule sets how long deleted-user records, inactive accounts, web server access logs, proxy logs and audit entries are kept, and when each is purged. CKAN's database, the web server and any log shipper keep separate records, so one schedule must reach all of them. The controller sets the periods, and counsel or the data protection officer signs them off. DeployOpen configures rotation and purge jobs in your infrastructure once the periods are fixed. Check which log fields hold IP addresses or user identifiers, and whether backups keep data beyond the schedule.

Data subject requests and erasure

Access, rectification and erasure requests need an intake channel, an identity check and a response process owned by the controller. Before promising erasure, confirm how your CKAN version deletes or anonymizes a user, including whether datasets they created, activity streams, API tokens and search index entries still show their name or email. Backups and database dumps may hold copies too, so the process must say how those are handled. Counsel or the data protection officer decides what is erased, what is kept and what the requester is told.

Breach detection and notification

A breach affecting account data raises two decisions for the controller: whether to notify the supervisory authority under Article 33, and whether affected people must be told under Article 34. The controller makes those decisions, and the notification clock starts once it becomes aware of the breach. The portal needs logging and alerts that surface bulk user exports, admin changes and token misuse. Check that alerts reach someone outside the platform team. Counsel or the data protection officer should agree in advance who assesses a breach and who signs the notice.

Transfers under Chapter V

Chapter V governs personal data sent to countries outside the EEA, which can include hosting regions, backup copies, email delivery providers and external identity providers used for SAML or OIDC sign-in. Every location in the data flow needs a documented transfer basis, and that basis can depend on the destination country and the recipient. Map each processor and sub-processor, including the region of any object storage used for uploads. Counsel decides whether a transfer mechanism applies. DeployOpen can document the data flow and configure regional placement in infrastructure you control.

GDPR text on EUR-Lex

Unsupported patch releases

CKAN supports the latest patch of the current minor version and the previous minor version, and outdated patch releases lose support once a newer patch ships. A portal left on an older patch may miss security fixes affecting account access, API tokens and file handling, which weakens the security of processing the controller must demonstrate under Article 32. The platform team owns patching, and the controller accepts any residual risk on advice from counsel or the data protection officer. Record the version in use, follow CKAN releases, and confirm extension compatibility before each patch.

CKAN release policy

Questions buyers ask about GDPR work for CKAN portal accounts

How much does GDPR work for CKAN portal accounts cost?

The cost depends on the written scope, and DeployOpen does not publish a price list. A quote follows from that scope. The main drivers are:

  • The number of data stores that hold account data, such as the main PostgreSQL database, the DataStore database, backups and dump files
  • Whether single sign-on is involved, for example through a SAML2 integration
  • How many CKAN extensions touch user fields or activity records
  • How dumps are produced, stored and shared
  • How much evidence the scope includes for an internal or external assessor
  • How many decisions your own team makes, which affects how much partner time is needed

Ask for a quote that lists each store, extension and deliverable separately, so you can see which work is one-time and which work your team must run afterward.

How long does GDPR work on CKAN accounts take?

The timeline is set by the written scope, and this page does not give a fixed duration. The factors that move it are the same as the cost drivers: the number of data stores, the completeness of the data inventory, the number of extensions that need review, and how quickly your team makes decisions on registration and retention. Scope, deliverables and dates are agreed in writing before work starts. Ask for a schedule that marks the decision points your team must answer, since those points depend on your team's responsiveness and can hold up the rest of the work.

What must our team provide for GDPR work on a CKAN portal?

Your team provides three things before the build starts:

  • A data inventory that shows where account data sits, including user records, email addresses, API tokens, activity streams, DataStore tables, dumps, backups and logs
  • Decisions on registration settings, such as who may self-register, and on retention periods for accounts, tokens and logs
  • Access to the infrastructure in scope, including the database, backup and dump storage, staging environments and CKAN configuration files, under your own change control

Missing items affect the written scope and can add work. Confirm access paths and the people who approve changes at the start, because those details decide how much of the work can run in parallel.

Can our own team handle GDPR work for a CKAN portal?

Yes, your team can do this work itself. The GDPR does not require an outside firm, and the controller stays responsible for compliance either way. Your team needs engineers who can read the CKAN database schema, change configuration and test restores, plus privacy or legal staff who can decide on lawful basis, retention and registration. A partner is most useful where internal CKAN experience or capacity is thin. Before deciding, compare the internal effort with the written scope a partner would propose, and confirm the approach with your data protection officer or privacy counsel if you have one.

Does the GDPR require an audit or certificate for CKAN portals?

No. The GDPR requires no audit, attestation or certificate. Certification under Article 42 is voluntary, is issued for at most three years by accredited certification bodies or supervisory authorities, and does not reduce the controller's or processor's responsibility for compliance. Your own records still matter, so the evidence for a CKAN portal can include the data inventory, configuration decisions, access reviews and tested restores. DeployOpen prepares systems, controls and evidence for compliance assessments. It does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work.

What is the maximum GDPR fine under Article 83?

Article 83 sets two maximum ceilings, and the higher applies in each case. For infringements such as those of Articles 25 to 39, the ceiling is EUR 10 million or 2% of total worldwide annual turnover. For infringements of the principles, lawful basis, data subject rights and transfer rules, the ceiling is EUR 20 million or 4%. These are maximums set by the regulation, and the fine actually imposed depends on the facts of each case. For a CKAN portal, the design and security duties in Articles 25 and 32 matter most for account data, tokens and dumps. Read the regulation text on EUR-Lex before relying on any summary, including this one: GDPR on EUR-Lex.

How DeployOpen scopes and delivers GDPR configuration for CKAN

DeployOpen is a Chainscore Labs company that plans, implements, customizes, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For GDPR for CKAN portal user accounts, that means scoping the portal's account, token, dump and registration settings in writing, then delivering them in your environment with documentation your compliance team can review. Engagements are fixed-scope, with scope and deliverables agreed before work starts.

How we scope

  • The written scope names which accounts, emails, API tokens and registration settings are covered.
  • Scope also records where database dumps are stored, who can read them, and how they are kept private.
  • Engagements are fixed-scope, and ongoing support is available as a retainer.

How we build

  • Configure CKAN account settings, registration controls and API token handling in your own infrastructure.
  • Review the database, backups and dump endpoints for personal data, then restrict access to the private copies.
  • Build a metadata export path that omits user data, and test it against a copy of the portal.

How we hand over

  • Deliver a written configuration record listing each setting, its value and the reason it was set.
  • Document the retention, dump handling and token revocation steps your operations team will run.
  • Provide evidence for your compliance team; DeployOpen does not issue audit reports or certifications.

How we support

  • Retest after CKAN upgrades or extension changes that touch accounts, tokens or registration.
  • Ongoing support, upgrades and continuous testing are available as retainers for the portal.
  • Confirm with your legal and privacy team which retention periods and lawful bases apply to your portal.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.