How CKAN organization roles decide who can publish for a department
A portal owner with several departments, each publishing its own datasets, needs to know who can edit, who can only view and who can manage members. In CKAN, those rights are granted per organization through three roles: member, editor and admin. Because every dataset belongs to an owning organization, a role in one department does not carry over to another unless the same person is given a role there too. Practically, this means the role map for a portal is a table of people, departments and roles, and it should be written down before accounts are created.
In general terms, member covers people who belong to a department and need to see its work, editor covers staff who create and change that department's datasets, and admin adds control over the organization itself, including who holds which role. The exact permissions differ between CKAN versions and depend on the extensions and authorization settings a portal runs, so confirm each role's permissions against the CKAN version in use before writing a policy around them. Treat these descriptions as a starting point for that check. Ask the portal team to log in as a test account for each role and record what it can see and change.
Organization roles are worth setting up once more than one department publishes on the same portal and each needs its own staff to act without a portal-wide administrator. A sysadmin-only model can work for a small portal run by one central team, but every change then depends on a few people with site-wide reach, and it becomes harder to tell which department's staff made a given change. Before go-live, decide which department admins approve membership changes, and ask the portal team to test an editor account on a staging site to confirm it can publish only for its own department.
Which CKAN organization role fits each publisher team
This table compares CKAN's member, editor and admin organization roles on the questions a publisher owner asks: who should hold each role, what it allows with datasets, whether it can manage other members, and where over-granting causes harm. Treat each column as a starting point to test. Verify every cell against the permissions of your running CKAN version before you write access rules, because role rights can change between releases and may be extended by local customizations.
| Question | Member | Editor | Admin |
|---|---|---|---|
| Who typically gets it | Staff who use or review the organization's data, including private datasets, without publishing | Data producers who create and update the department's datasets day to day | A small number of named leads who own the organization's membership and settings |
| What it allows with datasets | Read the organization's datasets, including private ones. Whether members can also create datasets depends on the version, so confirm. | Create and edit datasets owned by the organization, including private ones | Everything an editor can do, plus change organization details and manage membership |
| Can manage other members | No, members cannot change who belongs to the organization. | No, in standard CKAN roles. Confirm this in your version and in any custom authorization rules. | Yes. Adds, removes and changes the roles of organization members. |
| Main risk of over-granting | Staff outside the publishing team can read private or embargoed datasets in the organization. | Accidental or unreviewed edits to any dataset in the organization, including colleagues' work | A compromised admin account can remove members, change roles and alter settings for the whole team. |
| Verify before writing policy | Confirm read and create rights for private datasets in your running version. | Confirm create, edit, delete and draft handling in your running version. | Confirm membership, settings and organization deletion rights in your running version. |
Each publisher request lands on one organization role
The path starts with a person who needs a department's datasets and asks what they must do. Viewing private records of that department leads to the member role. Creating and editing datasets leads to the editor role. Adding and removing other members leads to the admin role. Every branch then meets one final check: site-wide settings belong to a sysadmin, so an organization admin should send those requests to the sysadmin team.
Decision path from a publisher request to member, editor or admin.
Who should hold admin rights in each publishing department
When a central data office runs one shared portal for many publishers, the office should hold the sysadmin role and keep organization admin rights narrow. Department staff usually need editor rights in their own organization, while a small set of named people in each department holds admin rights for membership changes. This keeps site-wide control with the office and day-to-day access control close to the people who know who should publish.
- Central office keeps site control: Sysadmin rights stay with the data office, so site settings, installed extensions and changes that touch several organizations are not decided inside a department.
- Department admins manage their own membership: Each department names its admins, who add editors, change roles and remove people when they change jobs.
- A second admin in every department: Each department names a backup admin, so access can still be removed when the primary admin is away, leaves or cannot be reached.
- Requests for new organizations: Departments ask the office to create an organization, and the office sets up the first admin before any datasets are published.
- Offboarding includes admin roles: The office's offboarding steps cover admin roles, not only editor roles, so a departed admin cannot keep changing membership.
Confirm with the data office whether each department's admin list is reviewed against the current staff roster on a set schedule, and who receives the notice when an admin leaves.
A single department with its own publishing team usually needs fewer organizations and a tighter admin group. The team can run its membership day to day, but the central sysadmin group still controls the site and any change that affects other users or other parts of the portal. The main risk in this model is that one or two people hold every admin right, so the team should plan cover before anyone leaves.
- Keep the admin list short and named: Tie admin rights to named roles such as the data lead and a deputy, so the list is easy to review and easy to explain to auditors.
- Editors do the publishing: Analysts and publishers hold editor rights, which covers creating and changing datasets without giving them control over who else can access the organization.
- A deputy admin for cover: A second admin, from the same team or from the central office, can remove access and add people during leave or turnover without waiting for a sysadmin.
- A clear escalation path to sysadmins: Changes to site settings, user accounts that span organizations, or the sysadmin list go to the central sysadmin group, and the team should know how to raise them.
- A written offboarding checklist: When a publisher leaves, the checklist covers membership removal, any API tokens or dataset collaborator grants issued to that person, and confirmation that no admin role remains.
Confirm with the central sysadmin group who holds sysadmin rights today, and test whether the department's deputy admin can complete an offboarding without sysadmin help.
In a federated model, many departments each publish into their own organization on one portal. Admin rights should be spread across departments, but the central sysadmin group keeps the decisions that cross organizational lines, so one department cannot change another department's datasets or the site itself. The hardest part of this model is keeping an accurate record of who holds admin rights in each of many organizations.
- Department admins for each organization: Each department names its own admins, and those names are recorded in a register that the central team can read and that the department keeps current.
- One role template for every department: Use the same pattern everywhere, with editors for publishers and a small admin group, so access reviews compare like with like and new departments copy an existing setup.
- Central approval for organization changes: Creating an organization, renaming it, changing its ownership, and deciding who may create organizations stays with the sysadmin group.
- Regular access reviews: The central office asks each department to confirm its admin and editor lists, records the answers, and follows up on any department that does not reply.
- Cross-department access through sysadmins: When a person needs to publish in two departments, the request goes to the sysadmin group, which decides whether to add a membership or use a dataset-level collaborator grant.
Before the next access review, confirm that the admin register matches the live portal and that every organization has a documented second admin.
How to set up CKAN organization roles in order
This sequence takes a CKAN portal from scattered publisher teams to organizations where each team has a named admin, a documented membership, and roles tested with non-admin accounts. Work through the steps in order, because each one depends on the organization map produced before it. The result is an access register that matches what CKAN shows.
Inventory publisher teams and their datasets
The portal lead works with each department to list its publishing teams, the datasets each team maintains, who signs off releases, and which datasets are still drafts or private. Record one contact per team and flag any dataset that nobody claims. Done means every existing dataset maps to exactly one publishing team, and the list of unclaimed datasets has a named decision owner.
Create one organization per publishing unit
A CKAN sysadmin creates one organization for each publishing unit in the inventory, using the organization screen in the portal. Use a name and description that match how the department describes itself, and note the accountable business owner for each organization so that someone outside IT can answer for it. Done means every publishing unit appears once in the organization list and every dataset to be published has an owner organization set. Confirm the exact creation fields in your running CKAN version, since the interface can differ between releases.
Name one admin for each organization
The business owner of each organization picks one or two named admins, and the sysadmin assigns the admin role to them. Admins manage membership and organization settings, so keep site-wide sysadmin rights in a separate, small group. Done means each admin signs in with a personal account, opens the organization's member management screen, and sees the member list, which confirms the admin role works before any other user is added.
Add members and editors through member management
The organization admin adds each user through the member management screen and sets a role for each one. Use member for people who need to view the organization's datasets, and editor for people who create and change datasets. Confirm in your version's permission settings what each role can see and do, including private datasets, before assigning roles at scale. Done means each user appears in the member list with the intended role, and the admin can state the business reason for every editor.
Test roles with non-admin accounts
Create a test account for the member role and another for the editor role, then sign in with each on a staging or test instance before go-live. As the member, try to edit an existing dataset and confirm the edit is refused. As the editor, create a dataset in the organization and confirm it saves. As the organization admin, add and then remove a test member to confirm membership changes work. Done means each check has a recorded result, and any unexpected behavior is reported to the sysadmin. Confirm expected behavior against your running CKAN version, since role permissions are set by its authorization rules.
Record role changes in an access register
Keep an access register with one row for each role change, listing the organization, the person, the role, the date, the approver and the reason. The register is the reference for reviews and audits, so every change in CKAN should follow a recorded request. Assign an owner for the register and a review schedule that the organization agrees to. Done means the register matches the member list in each organization.
Go live after role tests pass
Move the organizations to production only after every role check is recorded and any failed check has a fix and a retest. The portal lead compares the production member lists with the access register, and the sysadmin gives each organization admin a short guide on adding and removing members. Done means production member lists match the register on go-live day and each admin has confirmed they can manage their own organization.
Security risks in CKAN organization role design
CKAN organization roles decide who can publish, edit and manage members inside each organization, and sysadmins sit above them across the whole portal. The six risks below share one root cause: role assignments drift away from the people who should hold them. Each card names the operational control that keeps assignments accurate.
Admin granted to convenience accounts
Admin rights are often given to a shared publishing account or a senior colleague so that uploads never stall. An organization admin can change membership and roles for that organization, so each admin grant controls everyone in it. Keep admin limited to named people who own the publishing process, and review the admin list for each organization on a fixed schedule. Confirm the exact member management permissions for your CKAN version before you write the role matrix.
Departed staff still in organizations
A former employee who keeps an editor or admin role can keep changing metadata or adding members after leaving the department. Membership does not change on its own when someone changes jobs unless your identity setup links the two systems, so confirm how your single sign-on handles deactivation. Tie offboarding to the HR change: remove organization roles on the leaver's last working day, disable the account if it is no longer needed, and record who completed each step.
Sysadmin and admin duties combined
Sysadmins control the whole portal, while organization admins control one publishing area. When one person holds both, a routine metadata fix can also become a site-wide change, and the person approving a change can also be the one making it. Keep the sysadmin group small and separate from departmental admins. Ask who can change site settings, who can create organizations and who can assign roles, then write those duties down as separate lists with a named owner for each.
Shared logins across teams
A shared login for a department's publishing account hides who made each change and keeps working after the person who knew the password has moved on. One credential also gives several teams the same rights, even when their needs differ. Replace shared logins with named accounts mapped to organization roles, so every edit traces to one person. For scripts and harvesters, use API tokens tied to a named owner, and confirm token expiry and revocation steps for your version.
Unclear ownership of private datasets
Private datasets belong to an owning organization, but staff may not know which team is responsible for a draft, an embargoed release or an internal file. When the owner leaves or changes roles, nobody may be clearly authorized to publish, correct or withdraw the dataset. Record a named owner contact in each private dataset's metadata, and review private datasets whenever membership of the owning organization changes. Check which roles can view, edit and publish private datasets in your version before you set the policy.
Role changes without an approval record
When a role is granted or removed, the portal state changes, but the reason and approver often live only in an email thread. Without a record, you cannot show an assessor who approved an admin grant or when a leaver's access ended. Whether CKAN keeps an audit log of role changes depends on your version and setup, so confirm what your portal records before you rely on it. Keep a change register that shows who requested, who approved and when each role change took effect, and compare it with portal membership at each review.
Mapping publisher teams onto organizations without over-granting
Decide the organization boundary before you assign roles, because in CKAN the organization controls who sees its private datasets and who can manage its membership. One organization per department is simple to run: the department's admins maintain one member list, and every private dataset the department owns is visible to that list. The cost is that admin rights spread across every dataset in the department, so someone who only needs to publish one data family ends up able to manage all of them. One organization per dataset family keeps admin rights narrow, but it multiplies the organizations you maintain, and a reorganization becomes a larger job because members, admins and dataset ownership each have to be moved. Before you choose, list your teams, their private datasets and the people who must administer each one, then test the grouping against that list.
Share an organization when two teams publish into the same data family, their private drafts can be seen by the same people, and one admin group can accept responsibility for both. Give a team its own organization when its unpublished data must stay hidden from others, when it needs a separate admin, or when its release workflow or retention rules differ. For a reorganization, first decide whether datasets move with the team or stay with the old owner. Changing a dataset's owner organization changes who can see it, so review private datasets before and after the move and record which admins gained or lost access. Use the decision path diagram on this page as the checklist: each answer should point to one organization, and any dataset that fits no branch should be named and resolved before the move.
Use a collaborator grant when one dataset needs an outside person's input, and use an organization role when someone should work across the whole publishing unit. A collaborator grant gives a named user member or editor rights on a single dataset, and it does not carry organization-level permissions over the rest of the owner's datasets. Confirm with your CKAN configuration whether dataset collaborators are enabled before you design around them, because the feature is a site setting. If the same outside person needs steady access to many datasets, grants become hard to audit, and an organization membership at the right level is usually easier to review. Before go-live, export or list every organization admin and every collaborator, then confirm each entry against the decision path.
What setting up CKAN organization roles costs and who does the work
What drives the cost of setting up CKAN organization roles?
The main driver is how many organizations and publishing teams the portal has, because each one needs an owner, a member list and agreed holders of the editor and admin roles. Identity integration is the next largest factor. If sign-in comes from a SAML2 identity provider and you use ckanext-saml2auth to place users into organizations and roles from SAML2 attributes, someone must map each attribute value to an organization and role, confirm the attribute names with the identity team and test every mapping. Governance decisions add effort too: who approves an admin grant, how long a membership lasts and which departments can publish without review. Ask any quote to list each organization, each identity source and each decision your staff must sign off, and to separate one-time design work from recurring review work.
Can our portal team set up CKAN organization roles without outside help?
Yes, a team with CKAN administration experience can configure organization roles in-house, and the member, editor and admin roles are assigned per organization in the portal. The harder work is usually the decisions and the integration rather than the screens. Your team still needs time from the people who own department structure, HR offboarding and the identity provider. Outside help is most useful when SAML2 attribute mapping must be tested end to end, when several departments need one consistent pattern, or when the design must be written down so the next administrator can follow it. Ask any partner which parts they would hand over to your team and which they would run, so ownership of the role model stays with you after the engagement ends.
How long does CKAN organization role setup take across many departments?
Duration depends on how many organizations exist, how many extensions touch permissions and how many identity sources feed them. Confirm the schedule with the partner in writing, because the figure follows from the agreed scope rather than from a standard template. Each added organization brings a membership list to collect, an admin to confirm and test accounts to check. Each extension that changes authorization, such as an SSO extension or a custom permissions rule, adds regression testing against every role. Ask for the plan as phases with named owners: inventory, role design, identity mapping, testing and handover. A fixed-scope engagement is agreed in writing before work starts, so the quote should state the organization count, the extensions in scope and the test cases it covers.
What inputs do we need to provide before CKAN role design starts?
Four inputs decide most of the early work. The first is an organization chart showing which department publishes which datasets and who leads each team. The second is your HR offboarding process, so a leaver's CKAN membership is removed when employment ends. The third is a dataset inventory listing owner organizations, visibility settings and any sensitive datasets. The fourth is a set of test accounts, one for each role in each organization, so every role can be checked without using a staff login. Name the person who approves admin grants at the same time. If any input arrives late, design work usually moves into later phases. Ask the quote to list the inputs the partner expects, who on your side supplies each one and the date each is due.
How are CKAN membership reviews handled after the setup is finished?
Membership reviews are recurring work, so they belong in a retainer or in your internal routine rather than in the one-time build. A review compares each organization's member, editor and admin lists against HR records and removes people who have moved or left. It also checks that identity attributes still map to the correct organization and role, because a change at the identity provider can grant or remove access without anyone editing CKAN. Set a review cadence, decide who signs off admin changes and keep a dated record of each decision. DeployOpen offers ongoing support and continuous testing as retainers, and most engagements are fixed-scope. Ask whether reviews are scheduled, on request or included, and what each option costs in the written quote.
Who pays for which part of a CKAN role project?
Cost splits across three groups. Your staff supply the org chart, the HR process, approval decisions and test sign-off. These consume internal time but usually appear on no invoice, so estimate them with the people who own each input. A partner is paid for role design, identity mapping, configuration, testing and documentation under a written scope. Your identity team may also spend time on changes at the identity provider, which is internal effort in most organizations. Hosting is paid to whoever runs your cloud account or data center. One-time build work and recurring review work should appear as separate lines. Ask the quote to show each line and name the party that bears it.
What should a written quote for CKAN role setup include?
A useful quote lists the scope in writing before any work starts. It should name each organization covered, each identity source and attribute mapping in scope, each extension that touches permissions and the test cases used to confirm each role. It should separate one-time design and build from recurring review, and state which deliverables you keep, such as the role matrix, configuration notes, a runbook for adding and removing members and a test record. Ask what your staff must supply, what happens if the organization chart changes mid-project and who signs off admin grants. Ask for the timeline as phases with owners. DeployOpen does not publish a price list, so the written quote is the place to get a figure for your scope.
Limits to confirm in your CKAN environment
CKAN organization roles only behave the way this page describes if your portal runs the version, plugins and search setup you think it does. The cards below list what to verify in your own environment before you map publishers onto organizations.
Permissions in your exact version
CKAN minor releases may include backwards-incompatible changes, so a permission you tested on one minor release can differ on the next. Check the role behavior in the release notes for the exact version you run, then repeat your test matrix on a staging copy. Record each role's create, edit, delete and member-management rights so you can compare them after every upgrade.
CKAN release notesRole assignment from SSO
A SAML2 plugin such as ckanext-saml2auth can assign users to organizations and roles from identity provider attributes, so membership may change without anyone in CKAN clicking anything. Confirm whether your portal uses that feature, which attributes drive each organization and role, and what happens to a membership when the attribute changes or disappears. Check the setting in the plugin's configuration and test a removed user in staging.
ckanext-saml2auth repositoryOrganization and member scale
Count the organizations, members per organization and datasets you expect at launch and over the planning horizon of your publishing program. Then confirm that the portal, database and search index handle that load by testing with representative volumes in a staging copy. Pay attention to member list pages and organization admin screens, which grow with membership. Ask your CKAN hosting or support contact whether any limits apply to your version, and record the answer in the design document.
Custom authorization overrides
Any extension that implements the authorization hooks can override CKAN's built-in role checks, so a portal can behave differently from the stock permissions described for member, editor and admin. List every active plugin in the ckan.plugins setting, then identify which ones override authorization functions or permission labels. Review each override with the team that wrote it and confirm whether it applies to organization roles, dataset visibility or both. Keep the list in your configuration repository so later changes are visible.
Search index and private datasets
Private datasets in search depend on the search index, so you need to know whether a membership change updates what the index holds and how quickly it does so. Test this directly: remove a test member from an organization, then search as that user in the web interface and through the API. Confirm whether the removed user still sees the datasets, and ask your hosting team which reindex step they must run if the index drifts from the database.
Upgrade policy over time
Patch releases do not break backwards compatibility, but minor releases may, and CKAN supports the latest patch of the current minor and the previous minor. An outdated patch loses support once a newer one ships, so decide which minor you will run and who tracks the support window. Re-test role behavior with each move and confirm that extension compatibility is part of every upgrade test. Record the date you plan to leave each version.
CKAN release policyHow DeployOpen scopes and delivers CKAN access design
DeployOpen maps publisher teams onto CKAN organizations, then builds the member, editor and admin assignments around who must publish, who must maintain datasets and who must administer each organization. The work runs inside your own infrastructure, with the role model written down before any configuration starts. Each step ends in documentation that your security and data governance teams can review.
How we scope
- The written scope lists each organization, the teams mapped to it and the role each team receives.
- Scope also covers who holds organization admin rights and which sysadmin accounts, if any, stay outside publishing.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we build
- Configure organizations, member lists and roles from the agreed map, then test each role against a named test account.
- Confirm role behavior for your CKAN version, and whether ckanext-saml2auth should assign roles from SAML2 attributes.
- Keep the build in your own infrastructure, with access changes logged and tested before they reach production.
How we hand over
- A role matrix that lists each organization, the member, editor and admin holders, and the approver for changes.
- Runbooks for adding a user to an organization, moving a publisher between teams and removing access.
- Written notes on what each role can and cannot do in your CKAN version, for your security and governance reviewers.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers for role changes after go-live.
- Role reviews can follow CKAN patch and minor releases, since minor releases may include backwards-incompatible changes.
- Security testing of the CKAN setup can be scoped separately, with its own written scope.

