Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delegation and fine grained authorisation

DSGO supports indirect data transactions where one organisation authorises another organisation to technically perform a data transaction. On the transaction roles and patterns page three variants are explained: consumer indirect, provider indirect, and both indirect. On this page we further explain this concept and the way DSGO supports delegation and fine grained authorisation.


Definitions: AccessRights, SupplierDelegation, Delegation

Within the DSGO we functionally distinguish three types of authorisation:

  1. AccessRight: a data service rights holder authorises a (legal) data service consumer to access a data service.

  2. SupplierDelegation: a legal data service consumer authorises an authorised data service consumer to access a data service on its behalf.

  3. Delegation: a legal data service consumer delegates an access right to another (legal) data service consumer.


Policy Based Access Control offers flexibility and is scalable

DSGO uses Policy Based Access Control (PBAC), an authorization model that makes access decisions based on defined policies, rather than predefined roles (RBAC) or attributes (ABAC). Key Benefits of PBAC are:

  • Fine-Grained Control → Access based on real-time conditions (e.g., location, time).

  • Dynamic Policies → No need to update static roles when access needs change.

  • Better Delegation Management → Allows temporary and restricted delegation.

  • Regulatory Compliance → Policies can enforce legal or security requirements such as GDPR.

Unlike traditional role-based models, PBAC evaluates contextual information (such as user attributes, resource sensitivity, and environmental conditions) against defined policies, allowing for more dynamic and fine-grained access control.

At the core of PBAC are four primary components:

  • Policy Decision Point (PDP): The PDP is responsible for evaluating access requests against policies. When a request comes in (e.g., “Can company X perform action Y on resource Z?”), the PDP applies the relevant policies and returns an authorization decision (permit, deny, etc.).

  • Policy Administration Point (PAP): The PAP is where policies are authored, managed, and maintained. Administrators and security teams use the PAP to define rules that capture the organization’s access control requirements (e.g., compliance rules, business logic, or security standards). These policies are then made available to the PDP.

  • Policy Enforcement Point (PEP): The PEP acts as the gatekeeper. It intercepts access requests from applications or services, forwards them to the PDP for evaluation, and enforces the resulting decision. For example, an API gateway or application middleware might serve as a PEP.

  • Policy Retrieval Point (PRP): The PRP serves as the policy store. It provides the PDP with access to the policies created and maintained in the PAP. Typically, this is a repository or database that ensures policies are available, versioned, and retrievable during decision making.

Together, these components form a flexible and scalable authorization system. The PAP defines policies, the PRP stores them, the PDP evaluates them, and the PEP enforces them in real time. This separation of responsibilities enables organisations to manage access control centrally, adapt quickly to new requirements, and maintain compliance across distributed systems.


Responsibilities in evaluating access control

To ensure all data transactions are scalable, we advice to have a clear set of responsibilities for each of the roles within an indirect datatransaction. We suggest to split responsibilities as follows:

  • The data service provider offers the data service and evaluates access. Therefore the data service provider implements:

    • A Policy Enforcement Point, mostly an API gateway where an access request is being processed.

    • A Policy Decision Point, the PEP can use to evaluate an access request.

    • A Policy Administration Point and a Policy Retreival Point to store all policies the data service provider wants to apply to its data services.

  • The data service rights holder is responsible for the AccessRight authorisations and shares them with the authorized data service provider. Therefore the data service rights holder implements (or chooses):

    • A Policy Administration Point to create and manage all AccessRight policies.

    • A Policy Decision Point which can be called by the authorized service provider's PDP to evaluate an AccessRight policy.

  • The legal data service consumer is responsible for the SupplierDelegation authorisations and shares them with the authorised data service consumer. Therefore the legal data service consumer implements (or chooses):

    • A Policy Administration Point to create and manage all SupplierDelegation or Delegation policies.

    • A Policy Retrieval Point which can be called by the authorised service consumer to request a delegation_evidence including the SupplierDelegation or Delegation policy.

The page Authorisation flow further details a functional sequence diagram to evaluate access control and/or implement delegations.


Utilizing a third party authorization registry

With the DSGO, organisations can play a third-party authorisation registry role. The authorisation registry is responsible as Policy Administration Point, Policy Retrieval Point, and/or Policy Decision Point. The authorisation registry allows a data service rights holder or legal data service consumer to create, update, or delete policies. These policies are shared with authorised data service consumers or data authorisation service providers in evaluation access requests.

It is up to a digital collaboration to setup an authorisation registry role within their ecosystem. The DSGO does not have a centralized authorisation registry for all data transactions. Authorisation registries are defined as market facility.

The DSGO describes different implementation patterns for the authorisation registry:

  1. Legal data service consumer implements their own authorisation registry

    1. The authorised data service consumer can retreive SupplierDelegation or Delegation evidence from the authorisation registry's PRP and include this evidence as part of the token exchange to access a data service on behalf of the legal data service consumer.

  2. Authorised data service consumer implements the authorisation registry

    1. The authorised data service consumer can retrieve SupplierDelegation evidence from its own authorisation registry's PRP and include this evidence as part of the token exchange to access a data service on behalf of the legal data service consumer.

    2. This implementation is not recommended because the SupplierDelegation will be self-signed by the authorised data service consumer.

  3. Data service rights holder implements their own authorisation registry

    1. The authorised data service provider can ask the authorisation registry's PDP to evaluate an AccessRight for a (legal) data service consumer.

  4. Authorised data service provider implements the authorisation registry

    1. The authorised data service provider can evaluate an AccessRight via the PDP of their own authorisation registry. The data service rights holder registers and manages the AccessRight policies within the PAP solution of the authorisation registry of the authorised data service provider.

  5. Third party implements the authorisation registry

    1. The authorised data service consumer can retreive SupplierDelegation or Delegation evidence from the third party authorisation registry and include this evidence as part of the token exchange to access a data service on behalf of the legal data service consumer.

    2. The authorised data service provider can can ask the third party authorisation registry's PDP to evaluate an AccessRight for a (legal) data service consumer.


Demo video (iSHARE)

The following demo video explains how delegations are applied within the iShare Trust Framework.


Further reading

Source
Description
Author
Language

Explanation about the implementation of authorization within the DSGO.

digiGO

Dutch

Three patterns to implement the authorization registry within a digital collaboration

digiGO

Dutch

Delegation and fine grained authorisation within the DSGO rulebook

digiGO

Dutch

Demo video on the Authorization registry.

iSHARE

English

Specification of the eXtensible Access Control Markup Language.

OASIS

English

Last updated