Sharing individual CKAN datasets with collaborators

Dataset collaborators let named users work on one CKAN dataset without a full organization role. This page explains the member, editor and admin options, the setup and checks, the owner organization change and the reindex after the feature is turned off.

On this page

How CKAN dataset collaborators give one dataset to named users

A publisher or portal owner who needs one outside contributor on one dataset and nothing else in the organization should consider dataset collaborators before adding that person to the organization. In CKAN, a dataset collaborator is a named user given member or editor rights on a single dataset, while the dataset stays owned by its organization. That is a narrower grant than an organization role. An organization member or editor gets rights across every dataset the organization holds, including drafts and private records the contributor has no reason to see. Teams usually need collaborators when a university lab, a contractor or a partner agency maintains one dataset on the portal's behalf while the rest of the catalog stays under the internal publishing team's control. (Illustrative: a county health agency adds a partner researcher to one survey dataset.)

Before enabling anything, list the datasets each outside person needs and what they must do with each one. Map every grant to a specific dataset and role, and confirm that the grant does not widen what the person can do elsewhere in the organization. Decide who approves each grant, who removes it when a contract ends and how the portal records who was added. These decisions matter more than the mechanics because a grant that outlives the project is a quiet access risk. Ask the platform team how they will list current collaborators for each dataset before every access review, and confirm whether collaborators can see the dataset while it is still private.

Dataset collaborators depend on site configuration, so the feature works only if the portal's administrators turn it on, and the exact settings depend on the CKAN version in use. Do not copy setting names from an older blog post or a forum answer. Check the configuration reference for the version you run, and confirm the available collaborator roles and how the portal behaves if the feature is switched off later. Test the whole flow on a staging portal with two test accounts before you write it into a publishing procedure. CKAN's release policy explains which minor and patch lines receive fixes, which helps you choose the version to confirm against.

Member, editor and admin collaborator rights compared

This table compares the three rights a single dataset collaborator can hold with the organization roles they overlap with. Read each row for what the right fits, what the named user can change and where the risk sits. Confirm every permission in the CKAN documentation for your running version and in a test instance before you grant access.

RightBest fitWhat the named user can changeMain risk
Collaborator memberAn outside reviewer who needs to read one private datasetRead the dataset. Confirm whether any write action is possible.Private content reaches a person who was never part of the owning organization
Collaborator editorA contributor who maintains metadata or resources on one datasetEdit dataset fields and resources. Confirm whether visibility or deletion is included.Changes made by someone outside the owning team with no organization-level review
Collaborator adminA dataset steward who decides who else can work on the datasetManage collaborators on that dataset. Confirm whether owner organization changes are included.Access spreads to others without the organization admin knowing
Organization memberStaff who need to read private datasets across the organizationRead private datasets owned by the organization. Confirm edit rights in your version.Broad read access to every private dataset in the organization, not one dataset
Organization editorA publisher who creates and maintains datasets for a departmentCreate and edit datasets owned by the organization. Confirm delete and visibility rights.Edit rights cover the whole organization, so a single account can change many datasets
Organization adminA head of a publishing department who manages members and datasetsManage organization members and all of its datasets. Confirm the exact scope in the docs.Full control over the organization, including who holds which role
Owner organization changeMoving a dataset when a team hands over ownershipConfirm in a test instance whether collaborators can change the owner organization.The dataset moves under another organization's roles and visibility
Turning the feature offRetiring collaborator access on a portalRemove collaborator grants, then rebuild the search index as the docs describe for your version.Search results and access checks can disagree until the reindex finishes

How CKAN decides whether a collaborator can act on a dataset

The diagram follows one request to view or edit a dataset. It starts with a signed-in user, then checks in turn whether the user is a sysadmin, whether the owner organization role grants the action, and whether the collaborator feature is enabled and gives the user a member or editor right on this dataset. A grant at any step allows the action, and if no step grants it, the request is denied. The feature toggle decides whether the collaborator step is reached at all, and the admin collaborator option changes which rights a collaborator receives. Confirm the exact check order in your running CKAN version before you write access rules.

Decision path for edit or view requests; confirm order against your running CKAN version.

Setting up CKAN dataset collaborators step by step

This sequence turns the collaborator feature on in a test environment and shows what each right allows before anyone changes production. It starts with a version and extension check, then moves through configuration, restarts, test accounts and permission checks. The output is a signed-off matrix of what member, editor and admin collaborators can see and change.

  1. Confirm the CKAN version and extensions

    A CKAN administrator records the exact version the portal runs and the list of enabled extensions from the ckan.plugins setting in the configuration file. Confirm the version with ckan --version on the server, then check it against the supported minor versions in the CKAN release policy. Collaborator behavior and configuration keys can differ between releases, so the test must run on the same version as production. Done when the version, the extension list and the matching documentation version are written into the test plan.

  2. Confirm the collaborator configuration keys

    Open the configuration reference for your exact CKAN version and confirm the keys that switch on dataset collaborators and the admin collaborator option. Expect names such as ckan.auth.allow_dataset_collaborators and ckan.auth.allow_admin_collaborators, but check each one, because the names and default values vary by version. Record the current value of each key in the test configuration. Done when you have a short table of keys, their documented defaults for your version and the value you plan to set.

  3. Enable the collaborator settings in the test site

    A platform engineer edits the test instance's configuration file, usually ckan.ini in a package install, and sets the collaborator keys to true on the test instance only. Keep production unchanged until the tests pass. Store the change in version control with the reviewer's name so the same change can be reproduced later. Confirm that the edited file is the one the running processes read, since editing an unused copy is a common mistake. Done when the settings are saved and a reviewer has approved the diff.

  4. Restart the CKAN services and confirm the change

    A platform engineer restarts the web workers, the background job worker and any other process that loads the configuration, then reloads Nginx if it sits in front of CKAN. Partial restarts often cause settings that appear to do nothing, so restart every process that reads the file. Sign in as a sysadmin and open a test dataset. The collaborator option should appear in the dataset management area. Done when the option is visible to the sysadmin and the service logs show no startup errors.

  5. Create a test dataset and three test accounts

    Create one test dataset inside a test organization, then create three test users: one to hold member rights, one to hold editor rights, and one to hold admin collaborator rights if your version enables that option. Keep these accounts out of every real organization and store their passwords in your secrets manager. Sign in once with each account to confirm it works before any permission is tested. Done when the dataset, the accounts and their sign-in results are recorded in the test log.

  6. Add a collaborator for each right

    As the dataset owner or a sysadmin, open the test dataset's Collaborators page and add one test user for each right: member first, then editor, then admin where the option is enabled. Each addition should show the username and role in the collaborator list. Compare the list with the test plan and remove any entry that does not match the plan. Done when the list shows exactly the expected collaborators with the intended roles, and a screenshot or export is stored with the test log.

  7. Verify visibility and changes for each user

    Sign in as each test user in a separate private browser session and check what the test dataset shows: whether it appears in search, whether it opens while private, whether the edit controls appear, and whether resources can be added or the dataset deleted. Repeat the reads through the API using each user's token, and include a user with no collaborator role as a control. Compare every result with the matrix in the test plan. Done when every cell matches, and each mismatch is logged as a defect to fix before go-live.

  8. Rebuild the search index after any change

    If you later turn the collaborator feature off, or change which users can see a dataset, rebuild the search index so that search results match the database. Run the rebuild from the CKAN command line on the server as the CKAN system user, and confirm the command's options for your version before running it. Then repeat the search check with the member user, who should no longer see the dataset if access was removed. Done when search results match the expected access for every test user and the rebuild is recorded in the change log.

Choosing collaborators, organization roles or custom authorization

A single external contributor on one dataset is the case collaborators were designed for. A partner agency, a researcher or a contractor can be granted member or editor rights on that one record without joining the publishing organization, so they gain no access to the organization's other datasets. The grant is named, scoped to one dataset and easy to find in one place.

  • Fit: one dataset, one or two named people, and a narrow, time-bound task.
  • Admin effort: low for a handful of grants, but every grant is a record someone must remember to remove when the work ends.
  • Audit clarity: good while the list stays short. Confirm which collaborator changes appear in the activity stream and logs for your CKAN version.
  • Custom authorization: consider it only if the contributor must have changes approved before publication, or if a policy must limit their edits in a way collaborator rights cannot express.

Before you offer this route to an external team, confirm who may add collaborators on your portal and what happens to a collaborator's rights when their account is deactivated.

Security risks of CKAN dataset collaborators

Sharing a dataset with a named collaborator takes a few clicks, and the same ease lets grants pile up unnoticed. Each card below names one risk, the control to add and the check to repeat, so every grant stays tied to a business owner, a review date and a test.

Collaborators outliving their project

A collaborator added for one release keeps member or editor rights on that dataset after the project closes, and the dataset owner may never see the grant. Record a business owner and an end date for each collaborator in a register kept outside CKAN. Then run a review schedule that lists every collaborator per dataset and asks the owner to confirm or remove each one. Add collaborators to your leaver process too, so a departing employee's dataset rights do not depend on someone remembering them.

Admin collaborators changing access

The admin collaborator option lets a named user manage who else can reach the dataset, so one grant can spread access beyond the people your publishing team approved. Keep the admin list short, with a few named people per dataset, and record each entry as a decision agreed with the dataset owner. After each change, sign in as a plain collaborator and confirm that the account cannot add other users. Confirm in your own version which rights each collaborator level holds before you rely on the setting.

Private datasets exposed by visibility error

A dataset set to public by mistake, or a draft copied into a public context, is visible to anyone who can reach the portal. Collaborators can edit the datasets they hold, so visibility should be checked after every edit instead of trusted from an earlier state. Add a visibility test to each release step: from a logged-out browser and from an account with no rights, search for the dataset title and request its API record. Repeat the test after any change to collaborators or the owner organization.

Drift between organization and dataset rights

A user's organization role sets what they can do across that organization, and a collaborator grant adds rights on one dataset on top of it. Over time the two layers disagree: a former editor keeps dataset rights, or a collaborator ends up with more access than the organization would ever give them. Review both layers together on the same schedule, keep a written map of the organization roles each publishing team should hold, and check every dataset grant against that map.

API tokens used by collaborators

A collaborator who creates an API token can script changes to every dataset their account can edit, so the token becomes a standing grant that can outlive the work it was made for. Confirm how tokens are created, whether your CKAN version supports expiry, and how they are revoked. Then set a rule that dataset tokens belong to named accounts and are revoked when the collaborator's grant ends. Keep harvesters and publishing scripts on separate accounts with only the rights they need.

Weak audit records for changes

When a grant changes, you need to answer who added the collaborator, who changed visibility, and when the owner organization moved. Confirm which of these events your deployment records, how long the records are kept, and whether the log shows the earlier value. Forward the records to storage your security team controls. Then make a test change in a non-production portal to confirm exactly what appears in the log before you depend on it.

What changes when a dataset moves to a new owner organization

Moving a dataset to a new owner organization changes who governs it, and collaborator rights are where that change is easiest to miss. A collaborator grant does not automatically keep the same effect once the owner changes, so the first thing to confirm is whether existing collaborators keep their rights, lose them, or keep only part of them. At the same time, the organization roles of the new owner start to apply to the dataset. A member of the new organization may gain or lose capabilities they did not have before, and an admin there may now control a dataset that was previously managed elsewhere. Treat the move as a permissions change that also moves metadata, and plan the access review before the move.

Test the move on a copy before you run it on a production dataset. Create a copy in a staging instance or a throwaway dataset, add collaborators with the same member or editor rights you use in production, and record the full list with each person's rights. Then move the copy to a test organization and record the list again. Compare the two lists and note any collaborator who disappeared, any right that changed, and any new access created by the new owner's roles. Repeat the check in the CKAN version you run, and confirm the behavior from that version's documentation or your own testing, since permission handling can change between releases. Keep the record with the change ticket so the review can be repeated after the real move.

Moved datasets may also need a search index check. Search results depend on the index, and the index holds the owner organization and visibility settings that determine who sees a dataset in search. After a move, confirm that the dataset appears under the new organization, that it is hidden from users who should not see it, and that users with collaborator rights can still find it where they expect. If the index does not match the database, run the search index rebuild that the documentation for your version describes, and check whether your version updates the index automatically when a dataset moves. Schedule this check inside the change window so a stale index does not expose or hide a dataset after the team has stopped watching.

Limits to confirm before you rely on dataset collaborators

Dataset collaborators change who can edit one dataset, so their behavior depends on the CKAN version, extensions, access rules and identity provider around them. Test each item below in an environment that matches production before you give collaborator rights to publishers. Items 1, 4 and 6 need a check against the documentation for your exact versions.

Feature availability by version

Confirm that the collaborator option exists in the exact CKAN version you will run. Then check each extension in the stack, such as ckanext-dcat, which lists support for CKAN 2.10 and 2.11, against the CKAN version you plan to deploy. Check the feature's docs and release notes for your exact version before you commit to a design.

ckanext-dcat repository

Private datasets and API tokens

Test a collaborator who is outside the owner organization against a private dataset, then repeat the same check through the API with that user's token. Compare search results, dataset reads and resource downloads across both paths, since each path can apply checks separately. Also confirm what an existing token can still do after the collaborator role is removed. Run the token test as a separate step before you tell publishers that access is limited.

Custom authorization overrides

If your team has written IAuthFunctions overrides, read each one that touches dataset read, update or delete. A custom rule that grants or denies access by organization alone may take precedence over the collaborator role, so a grant may appear to do nothing or a dataset may be exposed to a user who should not see it. List every overridden function on that path, then test a collaborator against each one. Any override that checks dataset access needs a review and a test pass before the feature goes live.

SSO-assigned roles and grants

If you run ckanext-saml2auth, SAML2 attributes can assign organizations and roles at login. Confirm whether a fresh login overwrites a collaborator grant on a dataset, and whether a user who loses an SSO group keeps collaborator access until someone removes it by hand. Test one user whose attributes change between two logins and record the result on each dataset. Confirm this behavior in the extension documentation and in your own test login before you treat SSO group removal as access removal.

ckanext-saml2auth repository

CKAN release support status

Under CKAN's release policy, the project supports the latest patch of the current minor version and the previous minor version, and an outdated patch loses support once a newer patch is out. CKAN 2.12.0 was released on August 26, 2026, with 2.11.6 and 2.10.11 the same day, so 2.10 falls outside that window. Patch releases do not break backwards compatibility, but minor releases can. Confirm which line you will run before you test, and plan upgrades with the release notes.

CKAN releases policy

Audit trail for changes

Decide which collaborator events you must evidence, such as who was granted editor rights, who removed them and when. Then check whether the activity record captures each add, change and removal with the acting user, the dataset and a timestamp. Also confirm what happens to those entries when a dataset moves to another owner organization. Audit coverage may differ by CKAN version and by installed extensions, so confirm it in the docs for your version and in a test run before your compliance team relies on it.

Turning the feature off and reindexing the search

Turning off dataset collaborators changes who should see each private dataset, but the search index keeps its own record of that access. CKAN stores permission labels in Solr for each dataset, and collaborator rights add labels for the named users. Once the feature is disabled, the index can still carry those labels, so search may return a private dataset to someone whose collaborator access has ended, or hide it from people who still need it. A search index rebuild regenerates those labels from the current database state. How long it takes depends on the number of datasets in the portal, the resources behind Solr, and how the deployment runs its background workers and web processes. Ask the team that runs the portal to time a rebuild on a recent copy of production before the change, and base your planning on that result instead of general estimates.

Plan a maintenance window before you disable the feature, because search results can be inconsistent until the rebuild completes. Back up the PostgreSQL database first and confirm the backup restores in a test environment, so you can return to a known state if the change fails. Record the list of datasets that have collaborators, with each user and role, since that record is your baseline for checking access later. Confirm with the team that operates Solr that it is healthy and has enough free disk space. Tell dataset editors and organization admins when the window opens, so nobody changes collaborators during the rebuild and leaves the index out of step with the database.

After the rebuild, verify search from accounts with different rights, because a sysadmin account sees everything and proves little. Choose a sample of private datasets that had collaborators, then test four viewpoints: a former collaborator, a member of the owning organization, an unrelated user, and an anonymous visitor. Each should see only what its role allows in search, on the dataset page and through the API. Compare the results with your baseline list and record each check with the date and the index state. If the portal runs a custom permission labels extension, include its datasets in the sample too, since its labels depend on the same index.

What setting up CKAN dataset collaborators costs and who pays

What drives the cost of setting up CKAN dataset collaborators?

The main drivers are how many datasets need collaborators, how many distinct users need member or editor rights on each one, and how far your access rules go beyond the built-in roles. Each dataset is its own decision: who gets which role, whether collaborators may manage other collaborators, and whether the admin collaborator option applies. Owner organization changes add work because access can shift when a dataset moves to another organization. If the feature was turned off earlier, the reindex step and its verification checks add more effort. Fixed-scope work is quoted from the dataset list and the rules, so a cleaner inventory makes the quote more predictable.

Can our own team set up CKAN dataset collaborators in-house?

Yes, a team with CKAN administration experience can usually do this in-house if it writes down the access model first. Start by listing which users need member rights and which need editor rights on each dataset, and who is allowed to manage collaborators. Then rehearse every change on a test instance before touching production datasets. A partner makes more sense when the rules are complex, when many datasets change at once, or when nobody on staff has run sysadmin tasks on CKAN before. A useful test is whether your team can state the expected result for each dataset and user before making the change.

What does our staff need to provide for collaborator setup?

Your side needs to provide three things before work starts. Share them early, because they set the pace of planning.

  • An administrator who can make changes on the test and production instances, plus an approver for access decisions.
  • A test instance on the same CKAN version and extensions as production, so permission results can be reproduced before go-live.
  • A written list of datasets, their owner organizations, and the users who need member or editor rights on each one.

Also confirm the current CKAN version, whether the admin collaborator option is enabled, and where your access decisions are recorded.

How long does configuring CKAN dataset collaborators take?

Duration depends mostly on the number of datasets and the number of authorization rules that need individual decisions. A short list of datasets with straightforward member and editor grants can move quickly. Work grows when each dataset needs its own review, when owner organization changes must be coordinated with data owners, when the team must verify results on a test instance, or when rules fall outside the built-in roles and need custom authorization code. Reindexing after the feature was turned off can add a step. Ask for the timeline to be broken down by phase in the written scope so each dependency is visible.

What should a quote for CKAN collaborator setup include?

A useful quote states scope, deliverables, assumptions and exclusions in writing before any work starts. Ask it to include the dataset list and the users per dataset, the rules to implement, the test and verification steps, the production change plan, handover documentation, and what your team must provide. It should name the acceptance checks for each deliverable. DeployOpen works on fixed scope agreed in writing and does not publish a price list, so the quote follows from that scope. CKAN itself is licensed under the GNU Affero General Public License v3.0, so the quote covers services, and you should confirm any extension licenses separately. Compare quotes using the same dataset list and assumptions, or the figures will not be comparable. CKAN repository

What recurring work follows CKAN dataset collaborator setup?

Collaborator access drifts over time, so the main recurring work is a periodic review of who holds which role on which dataset. Reviews should compare collaborator lists with current staff records and data owner decisions, and they should follow any owner organization change. Upgrades bring a second recurring task. CKAN patch releases are not meant to break backwards compatibility, but minor releases may include backwards-incompatible changes, so retest collaborator behavior after each minor upgrade. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, which can cover these reviews.

Does turning off the CKAN collaborator feature require a reindex?

Yes, a reindex is needed when the feature is turned off, so plan the change as a maintenance step with a verification pass. Record the current collaborator grants first, then disable the feature on the test instance and run the reindex there. Check search results for private datasets as users with and without collaborator rights, then repeat the same steps on production in an agreed window. Confirm the exact reindex command and expected behavior in the documentation for your CKAN version before running it. Keep the before and after results so reviewers can see what changed.

How DeployOpen scopes and supports CKAN collaborator access

DeployOpen treats collaborator access as a written scope item: which named users get member or editor rights on which datasets, who may add collaborators, and what happens to access when a dataset changes owner organization. The work runs inside your own CKAN deployment, so the permission model is checked against your accounts and organizations before handover. Engagements are fixed-scope, with the scope agreed in writing before work starts.

How we scope

  • The written scope names each dataset that may be shared and the collaborator role it receives, member or editor.
  • Scope also records whether the admin collaborator option is allowed, and which team approves each grant.
  • Owner organization changes are scoped separately, with a decision on who keeps access after a move.

How we build

  • We configure collaborator settings in your CKAN instance, using your organizations, user accounts and sysadmin group.
  • We test grants and revocations with sample member and editor accounts before any user sees the change.
  • Where the feature is turned off, we plan the search reindex that follows and record when it runs.

How we hand over

  • Written documentation covers who can add collaborators, what each role can edit, and how to revoke access.
  • A short runbook lists the admin steps for changing an owner organization and checking collaborator lists.
  • A verification checklist lets your team repeat the grant and revocation tests after later changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the handover.
  • Collaborator rules are rechecked when extensions or permission settings change on your portal.
  • Ask for the written scope, quote and retainer terms in one document before work starts.

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.