Managing X-Road service access rights

X-Road service access rights decide which member clients can call which provider services. This page explains the grant models, how to keep grants aligned with data sharing agreements, and what to confirm before you rely on them.

On this page

What X-Road service access rights control and when to manage them

Access rights decide which member clients may call which services. A provider publishes a service through its Security Server, and several consumers may need it, but only some of them should be able to call it. Each consumer reaches the service through its own Security Server, and the access decision sits on the provider's side. Review access rights whenever a data sharing agreement starts, changes or ends, because the agreement is the business decision that defines who may use the service and for what purpose. Treat the agreement as the reference for every access change, so that technical permissions never outlast the terms they were granted under.

Three parties are involved. The provider is the member that owns the service and publishes it on its Security Server. The consumer is a member whose client system calls that service through the consumer's own Security Server. The Security Server is the component every member runs. On the provider's side, the provider decides which consumer clients may call each service. Before you grant anything, confirm with the consumer which client identity will make the calls and which services that client needs for the agreed purpose, so that the rights you grant follow from a stated need.

Plan a review at three moments: when an agreement starts, when its terms change and when it ends. At each one, compare the rights on your Security Server with the agreement and remove any right the agreement no longer supports. Access changes are also administrative actions, so who can make them matters. The Security Server defines five user roles, including Security Officer, Service Administrator and System Administrator, and admin login can be integrated with LDAP through SSSD, with LDAP groups mapped to those roles. Confirm in the Security Server user guide which role manages access rights, then limit that role to the people who approve agreements.

Local groups, global groups and direct grants compared

This table compares the three ways to grant a client access to an X-Road service: direct grants, local access right groups on one Security Server and global groups distributed through global configuration. Read each row for its scope, the situations it fits and what it takes to maintain as consumers and providers change. For the mechanics of local groups, see the sibling topic on local access right groups, and confirm how global groups are created and distributed in your X-Road version before you design around them.

OptionScopeBest fitTrade-offs
Direct grant per serviceOne client subsystem on one service at one provider Security ServerA single consumer, a one-off exception or a small number of servicesPrecise and easy to trace, but each new consumer or service needs its own entry
Direct grant per endpointOne client on selected operations of a REST serviceLimiting a consumer to specific endpoints of an APIFinest control, but the largest number of entries to review and keep current
Local access right groupA set of clients on one provider Security Server, applied to its servicesSeveral consumers that need the same services from one providerMembership changes are made once per group, but each provider Security Server must be kept in step
Global groupA group defined centrally and distributed to Security Servers through global configurationThe same consumer set across many providers where consistency mattersStrongest consistency across providers, but depends on how your version creates and distributes groups, so confirm this first
Review and audit effortWho can see and change each grantDirect grants for small sets, groups for larger, stable consumer setsEvery option needs periodic review against data sharing agreements, and group membership reviews add a step

How access rights follow data sharing agreements

A signed data sharing agreement controls data exchange only once it is translated into grants on the provider's Security Server. Each grant ties together service, client, purpose and period. The service and the client member map directly to X-Road objects, so they can be expressed in the Security Server's access rights. The purpose and the period may not be enforced by the access rights screen in your version, so they have to be carried in the agreement and in your records. Before anyone changes the Security Server, list these four items for each agreement. A grant with no matching line in an agreement is an access decision nobody can justify later.

Sign-off happens on both sides. The provider's business owner approves what is shared and for which purpose, and the consuming member's owner accepts the obligations for its use. The technical change is then made on the provider's Security Server by someone holding an access-rights role, such as Service Administrator. Confirm which Security Server roles can change access rights in your version, and whether your organization requires a second person to approve each change. Record who approved, who applied the change, and the date, and store the agreement reference beside the grant. Security Server user guide describes the roles, which should be mapped to these responsibilities before the first grant is made.

The agreement text and the Security Server configuration must match because each serves a different reader, and any drift between them creates an access gap or an audit gap. If the configuration grants a client access the agreement does not cover, the provider is exposing data without the consent it recorded. If the agreement allows access the configuration does not grant, the consumer's integration fails, and staff may work around it with informal access. Compare the two together at onboarding, after every agreement change, and on a schedule you set, checking service, client, purpose and period line by line. Where the period cannot be held in the Security Server, record the end date beside the grant and make revocation a dated task with a named owner.

How a consumer call is checked against access rights

The diagram starts when a data sharing agreement is approved. The provider's Service Administrator then grants the consumer access to the service on the provider Security Server. When a consumer information system calls the service, its own Security Server sends the request across the trust boundary between the two organizations. The provider Security Server checks for a matching grant. If one exists, the request passes over the internal leg to the provider information system. If not, the request is rejected. Confirm the grant exists before you test the call.

Provider Security Server checks each consumer call against its grant.

Granting X-Road service access rights step by step

The sequence below moves from the signed agreement to a verified grant on the provider's Security Server. Each step ends with a check, so the result is a grant that the intended consumer can use and that an unlisted client cannot. Exact menu paths depend on your X-Road version, so confirm them in the user guide before you start.

  1. Confirm the agreement and its scope

    The data sharing agreement between the provider and the consumer is the source of truth for the grant. Read it for the service, the consumer organization, the specific endpoints or operations, and any end date or conditions. Ask the provider's team to confirm in writing that the request matches the agreed scope. Done when you can state, in one sentence, which client may call which service and for what purpose, and both parties have signed off on that sentence.

  2. Identify the service and client member

    On the provider's Security Server, locate the service and the consumer's client by their full X-Road identifiers. A client is identified by instance, member class, member code and, where used, subsystem code. The service is identified by the provider's subsystem and the service code. Compare each identifier with the agreement character by character, because a misspelled subsystem code could create a grant for the wrong client. Done when both identifiers match the agreement and the consumer's member appears in the provider's configuration.

  3. Choose the grant type

    Pick the grant type before you change the configuration. A direct grant suits one client calling one service, and it stays easy to audit while the list is short. A local group, defined on this provider's Security Server, suits a set of clients that you manage together on this provider. A global group, defined centrally, suits a set of clients that should share the same rights across providers. Write the choice and its reason into the change request. Done when the provider owner has approved the grant type and the reason is on record.

  4. Apply the grant on the provider Security Server

    Sign in to the provider's Security Server admin interface with an account that holds the Service Administrator role, and open the access rights for the target service. Add the consumer client directly, add it to the chosen local group, or confirm its membership in the global group. Menu names and steps differ between X-Road versions, so follow the Security Server user guide for your release. Save the change. Done when the access list shows the client against the service.

  5. Test the call from the consumer side

    From the consumer's Security Server, send a request for the service as the granted client, using the headers or path that the service description specifies. Expect a successful response. Then send the same request as a client that is not on the list, and expect the provider's Security Server to refuse it with an error response. Check both results in the consumer's message log, and in the provider's logs if the outcome is unclear. Done when the granted call succeeds and the unlisted call fails.

  6. Record the grant and test results

    Update the change record with the service identifier, the client identifier, the grant type, any group name, the approver and the date of the change. Attach the results of the granted and unlisted test calls, and link the record to the signed agreement. Name the owner of the future revocation, because removing access later follows the same steps in reverse and the record tells the next operator what to remove. Done when someone who was not involved in the change can find the grant in the record and repeat the test.

Who can change X-Road service access rights and how to separate duties

Access rights are only as trustworthy as the people and accounts that can change them. The Security Server splits administration into distinct roles, authenticates admins through PAM, and should leave a record of each change, so each card below maps one control to your own approval process.

Five Security Server user roles

The Security Server defines five user roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Assign them so that one person does not both edit service access rights and approve member registration. Map each role to a named owner in your access change procedure, and confirm in the user guide which role can add or remove a service access right in the version you deploy.

Security Server user guide

Admin login through PAM and SSSD

Admin users authenticate through PAM, and PAM can be connected to LDAP through SSSD. Use LDAP groups mapped to X-Road roles so that removing someone from a directory group also removes their Security Server admin rights. Test the mapping with one test account per role before go-live, and follow the mapping steps for your deployed version in the user guide, since group names and the SSSD configuration are specific to your directory.

Agreement owners and grant operators

Deciding that a client may use a service and applying that decision on the Security Server are separate duties. The agreement owner approves the scope, purpose and end date of the data sharing agreement, and a grant operator applies only what the approval covers. Record the approver in your change ticket for every grant, and reconcile active grants against signed agreements on a fixed schedule. For example, an illustrative consumer onboarding should not reach the admin UI until the data owner has signed off.

Lockout and password settings

The hardening guide recommends locking an account for 15 minutes after 3 failed logins and using passwords of at least 16 characters. Apply the same policy to the operating system accounts that run the Security Server, and keep SSH key-only. Check whether these settings apply to LDAP-backed users through PAM and SSSD, because a lockout configured on the local host may not cover directory accounts in your setup.

Hardening guidelines

Audit trail of grants and revocations

Every grant or revocation of a service access right should leave a record of who made the change, when, and under which approved request. Confirm in the user guide for your version what the Security Server logs for admin actions and where those logs are stored. Forward admin and system logs to your central log platform, and test that a revocation appears there and can be matched to its ticket before you rely on the trail in an audit.

Confirm roles for your version

Role names, permissions and login mapping can differ between X-Road releases. The current release is 7.8.3, and the supported versions are 7.8.3, 7.7.4 and 7.6.5. Before you write the access procedure, read the user guide for the version you run and confirm which role can grant, revoke and view each right. Keep a dated record of that check so that an auditor can see which documentation the procedure was based on.

Revoking access and stopping drift from agreements

Access rights in X-Road tend to outlive the agreements that justified them. A data sharing agreement ends, its scope narrows, or it lapses at renewal, but the grant for a client and service stays in place on the provider's Security Server until someone removes it. This is drift: the live configuration no longer matches what the parties signed. It builds quietly because the agreement sits in a contract or register while the access right sits on a server, and nothing forces the two to be compared. Give each grant an owner, an agreement reference and an end condition. Those three fields become the basis of every review you run.

Run a periodic review that compares every grant against the agreement register and records the result. For each grant, the reviewer confirms that the agreement is still in force, that the client and service match the agreement's scope, and that any local or global group membership still reflects that scope. Removing a grant is simple; the review is what catches the grant nobody remembers. Before you set the cadence, confirm with the vendor documentation and in your own test environment how quickly a removed right stops being honored, and whether a group membership change applies on the Security Server directly or only after configuration is distributed. A useful test is to remove a test client from a group, send a request, and record the outcome and the elapsed time. The Security Server user guide is the place to confirm which role can change access rights.

Then confirm what happens to in-flight requests when a right is removed. Ask whether a request that has already passed the access check completes, and whether a request arriving after removal is rejected and logged with a reason. Test both cases rather than relying on a written answer alone. Consumers need to know which error they will see so their integrations stop retrying and alert the right team. Agree the revocation procedure in writing with each consumer: who requests the removal, which agreement reference it cites, how much notice the consumer gets to switch off its calls, and who confirms the change on the provider side. Keep each revocation record with the review record so an auditor can trace a grant from the agreement to its removal.

Limits to confirm before you rely on access rights

Access rights depend on the X-Road release you run, how global groups propagate, and what your tooling and consumers can see. The cards below list the points to check in vendor documentation and in your own test environment before you build a process on them.

Global group behavior and distribution

Global groups let one access decision apply across member Security Servers, but how a membership change reaches each server depends on global configuration distribution. Confirm in the vendor documentation for your chosen release how a change propagates, how long it takes to appear, and whether a removed member loses access on every server. Reproduce each case in a test environment with at least two member Security Servers before you write the access process around global groups.

Release status and X-Road 8

X-Road 7.8.3 is the current release, and the supported versions are 7.8.3, 7.7.4 and 7.6.5. X-Road 8 is available as 8.0.0 Beta 2 for testing, with its production release scheduled for December 2026. Its access model must be tested separately, so treat any access design built on 7.x as specific to that line until you have verified the 8 model.

X-Road releases

Automation in management interfaces

Access rights are normally set through the Security Server admin interface, and the user roles determine who can make each change. Before you script grants, confirm which operations your planned tooling can perform through the interfaces it will call, and whether each change is recorded for audit. Run one grant, change and revoke cycle end to end in a non-production environment, and keep the resulting commands in version control.

Security Server user guide

Metaservice visibility for consumers

Consumers discover what they may call through metaservices such as listClients, listMethods and allowedMethods, so these answers shape what partners actually see. Check what each metaservice returns for a client with access, a client without access, and a client whose access was just revoked. Confirm the results against your release documentation, because a service catalog built on these calls will misreport access if the output differs from your access policy.

Grant carryover across upgrades

Access rights are part of the configuration you carry through an upgrade, so each grant, local group and global group membership must survive the move. X-Road 7.8.0 is the last new-feature release of the 7 line, and NIIS has not decided how long 7.x maintenance will run. Before you rely on a set of grants across an upgrade, record the current rights, upgrade a copy, and compare every client and service pair against the expected result.

NIIS 7.8.0 announcement

Questions buyers ask about X-Road access rights work

What drives the effort of an access rights review?

The effort depends mostly on how many services, clients and data sharing agreements the review has to reconcile. Each provider Security Server can publish several services, and each service can have several consuming clients, so the work grows with every pairing. Most of the effort goes into comparing what is granted today against what each agreement allows, service by service and client by client. Other drivers include how many local groups exist, whether members were added to them by hand over time, how many global groups are in use, and whether agreements name a purpose and scope or describe access in broad terms. Clear agreements shorten the comparison. Ask any partner to size the review from an inventory of services, clients, groups and agreements, and to state which counts the estimate assumed.

Can our own team manage X-Road access rights without a partner?

Yes, a team with administrative access to its Security Server can manage grants itself. The Security Server user guide defines separate roles, including Security Officer and Service Administrator, so you can separate who approves a change from who makes it. Internal teams usually handle routine grant changes well. The harder part is the first full reconciliation against agreements, which requires reading the legal terms, tracing old grants that nobody remembers adding, and checking that a change does not break a consumer. A partner is most useful for that first pass and for setting up a repeatable procedure your team runs afterwards. Ask whether the handover includes a written checklist, a change log format and a walkthrough with the people who will hold each role.

What does an access rights review need from our organization?

Before work starts, the organization needs three things: an agreement register, named owners and a test environment. The register lists every data sharing agreement, the parties, the services it covers and its purpose, with a reference the Security Server team can cite. Named owners are one accountable person per provider service and per consuming client who can confirm whether a grant is still needed. The test environment is a Security Server setup where changes to local and global groups can be verified before they reach production. Without the register, the reviewer has to infer scope from the grants themselves, which turns a comparison into an investigation. Also prepare a current configuration export and a list of the people who can approve changes. Confirm which of these exist today before requesting a quote.

How long does an access rights review take, and what changes it?

The duration is set by the written scope, and the biggest variables are usually not the technical changes themselves. Timing depends on how quickly owners can confirm their grants, how complete the agreement register is, and how many services and clients the review covers. A missing test environment adds time because each change must wait for a production window. Parallel work, such as an upgrade planned in the same period, can also compete for the same people and maintenance slots. Ask for the milestones in the proposal, along with the client actions each milestone depends on. If owners are unavailable for part of the period, the schedule should show that dependency clearly so it can be re-planned early rather than discovered late.

What changes for access rights when we move to X-Road 8?

The move to X-Road 8 changes the timing and the platform more than the basic logic of who should reach which service. X-Road 7.8.0 is the last new-feature release of X-Road 7, and NIIS intends to maintain 7 with bug fixes and security patches beyond 2026, although the length of that period has not been decided. X-Road 8 "Spaceship" is available for testing as 8.0.0 Beta 2, with a production release scheduled for December 2026. Keep the agreement register and owner list in a form you can reuse, so they carry over to the new platform. Before you design a new grant structure, confirm in the X-Road 8 documentation how access is modeled in the beta. Do not assume that the 7.x local group model carries over unchanged. The X-Road releases page lists the current versions.

What does a fixed-scope access rights engagement cover?

A fixed-scope engagement covers the review as agreed in writing before work starts. Typical deliverables include:

  • An inventory of services, clients, local and global groups, and agreements in scope
  • A reconciliation of each grant against its agreement, with findings and proposed changes
  • Tested changes in the agreed environment, with a record of what changed and why
  • A documented procedure and a handover to the named staff who will run it

DeployOpen agrees the scope, deliverables and timelines in writing, and a quote follows from that written scope. DeployOpen does not publish a price list, so ask the quote to show which services, clients and agreements it counts, which work is one-time, which work recurs, and which tasks remain with your team. Ongoing reviews after the first pass can be arranged as a retainer.

How DeployOpen works on this

DeployOpen approaches Managing X-Road service access rights as a scoped piece of Security Server configuration. We start from the data sharing agreements that define which clients may call which services, then map those agreements to local groups and global groups on your Security Server. The work is delivered in writing, fixed-scope, and documented so your team can review and revoke access later.

How we scope

  • The written scope lists every provider service, consumer Security Server and client subsystem whose access rights are in scope.
  • We map each data sharing agreement to the services, clients and endpoints it covers before any group is created.
  • Engagements are fixed-scope, so scope, deliverables and timeline are agreed in writing before work starts.

How we build

  • Create local groups on the Security Server for sets of clients, with descriptions that name the agreement they implement.
  • Use global groups for access that spans members, and record who approves each membership change.
  • Test each grant from a consumer Security Server, and confirm an unlisted client is refused the same service.

How we hand over

  • A handover pack lists each local and global group, its members, the agreement it implements and its approver.
  • Test evidence records the grant and refusal checks run for each service, with the date and the tester.
  • Your team receives a runbook for adding a client, revoking access and reviewing groups against current agreements.

How we support

  • Retainers cover ongoing support for access changes, periodic group reviews and retesting after upgrades or new services.
  • Access reviews compare group membership with the data sharing agreements still in force, and flag mismatches for owners.
  • Confirm in the quote who owns changes to global configuration that alter group membership.

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.