> For the complete documentation index, see [llms.txt](https://docs.openiam.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openiam.com/administration-guide/privacy/register-purposes-and-authorities.md).

# Register purposes and lawful authorities

Register the lawful authorities, processing activities and purposes your privacy program relies on, decide who is offered each purpose, and take them through review to ACTIVE.

**Applies to:** OpenIAM 2026.11.1

## What this is, and when you need it

A **purpose** is the reason you process personal data — *Adaptive authentication risk profiling*, *Access governance audit trail*. It is the unit people consent to, the unit a notice covers, and the unit a PBAC policy names.

Nothing else in the module can run until it exists. A purpose collects no consent until it has a **lawful authority** (the basis you rely on) and at least one **processing activity** (what is actually done with the data), and all three are `ACTIVE`. That makes this the first thing you set up, and the first place to look when a purpose is not being offered to anybody. This page registers all three, in the order the activation rules force.

The notice people read before consenting is the next page, [Publish a privacy notice](https://docs.openiam.com/administration-guide/privacy/publish-a-privacy-notice.md). If you only need everyone to accept an acceptable-use text, you are in the wrong section — see [Consent and policy acceptance](https://docs.openiam.com/administration-guide/consent.md).

## At a glance

|                          |                                                                                                                                                         |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **You will end up with** | One `ACTIVE` lawful authority, one `ACTIVE` processing activity, and one `ACTIVE` purpose associated with both, offered to the audience you chose       |
| **Where**                | **Governance → Privacy → Registry**, `/webconsole-v2/privacy-registry` — the **Lawful authorities**, **Processing activities** and **Purposes** tabs    |
| **You need first**       | The purpose written down in plain words, its owner, the basis you rely on, and the systems and recipients involved                                      |
| **Takes**                | 20–30 minutes for the first purpose                                                                                                                     |
| **Reversible**           | Partly. Nothing is deleted: a mistake is corrected by a new version or retired through `DEPRECATED` and `RETIRED`, and the registry keeps every version |

## Before you begin

**Every row moves through the same lifecycle**, from the row's actions menu → **Transition to**:

| From         | Can move to                    |
| ------------ | ------------------------------ |
| `DRAFT`      | `REVIEW`                       |
| `REVIEW`     | `APPROVED`, `DRAFT`            |
| `APPROVED`   | `ACTIVE`, `SCHEDULED`, `DRAFT` |
| `SCHEDULED`  | `ACTIVE`                       |
| `ACTIVE`     | `DEPRECATED`                   |
| `DEPRECATED` | `RETIRED`                      |

Anything else is refused with `Illegal governed transition … (KRN-005)`. `SCHEDULED` is a holding state: nothing moves it to `ACTIVE` on a date, so take it there yourself. Activating a new version of a purpose, activity or authority with the same name moves the previous `ACTIVE` version to `DEPRECATED`.

**Editing creates versions.** A row in `DRAFT` or `REVIEW` is edited in place. Editing an `APPROVED`, `SCHEDULED` or `ACTIVE` row creates a new `DRAFT` version with the next version number, which you then take through the lifecycle; the active version keeps serving until the new one is activated. `DEPRECATED` and `RETIRED` rows cannot be edited.

**One person can take these rows all the way to `ACTIVE`.** Only notices require a second approver.

## Register the lawful authority

{% stepper %}
{% step %}
Open **Governance → Privacy → Registry** and select the **Lawful authorities** tab. Leave **Tenant** at `default` unless your deployment uses another privacy tenant.
{% endstep %}

{% step %}
Click **Create authority** and complete the dialog. **Consent-based authority** is the one field that changes behavior everywhere else: tick it and every purpose relying on this authority is governed by the person's consent; leave it clear and those purposes are processed on that basis without consulting the consent ledger, and nobody can consent to them.

| Field                         | Enter                                                                                                                                                     |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**                      | `Risk profiling consent`                                                                                                                                  |
| **Type code**                 | `CONSENT`. A free code your organization chooses — `CONTRACT`, `LEGAL_OBLIGATION` and so on. Required                                                     |
| **Consent-based authority**   | Ticked                                                                                                                                                    |
| **Conditions (JSON)**         | Empty, or the conditions attached to the basis, as JSON                                                                                                   |
| **Valid from** / **Valid to** | Today, and empty. A purpose cannot be activated on an authority outside its window, and a PBAC decision treats an authority outside its window as invalid |

Click **Save**. The row appears as `DRAFT`, with **Basis** showing `Consent-based`.
{% endstep %}

{% step %}
From the row's menu choose **Transition to** → `REVIEW`, then `APPROVED`, then `ACTIVE`.
{% endstep %}
{% endstepper %}

## Register the processing activity

{% stepper %}
{% step %}
Select **Processing activities** and click **Create activity**.

| Field                            | Enter                                                                                                                                                                              |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**                         | `Login signal collection`                                                                                                                                                          |
| **Description**                  | What is done, in a sentence a person could read — "Collecting device fingerprint, IP geolocation and login time patterns at each authentication to compute an adaptive risk score" |
| **Systems (comma-separated)**    | `openiam-idp,risk-manager`                                                                                                                                                         |
| **Recipients (comma-separated)** | `Security operations`                                                                                                                                                              |
| **Retention days**               | `90`                                                                                                                                                                               |
| **Transfer context**             | Where data leaves your jurisdiction, say so here; otherwise empty                                                                                                                  |

Click **Save**.
{% endstep %}

{% step %}
Transition the activity to `REVIEW`, `APPROVED` and `ACTIVE`.
{% endstep %}
{% endstepper %}

## Register the purpose and decide its audience

{% stepper %}
{% step %}
Select **Purposes** and click **Create purpose**.

| Field                                    | Enter                                                                                                                                               |
| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**                                 | `Adaptive authentication risk profiling`. The name is the purpose's identity across versions — keep it stable                                       |
| **Description**                          | What the person gets and gives — this is the text the Privacy Center shows under the name                                                           |
| **Owner reference**                      | The accountable owner, for example `ciso`. Required before activation                                                                               |
| **Data categories (comma-separated)**    | `IDENTIFIER,DEVICE,LOCATION,BEHAVIORAL`. The Privacy Center shows them as **Data used:**                                                            |
| **Audience**                             | **Everyone**, or **Only these people** — see the next step                                                                                          |
| **Permitted channels (comma-separated)** | Empty, or the channels consent may be collected through. Recorded and passed to policies; the ledger does not refuse a consent from another channel |
| **Lawful authority**                     | `Risk profiling consent`                                                                                                                            |
| {% endstep %}                            |                                                                                                                                                     |

{% step %}
**Choose the audience.** **Everyone** offers the purpose to every person. **Only these people** offers it to people who match **any** of the selectors you add with **Add selector**:

| Selector kind    | Matches a person who…                                                                                |
| ---------------- | ---------------------------------------------------------------------------------------------------- |
| **Role**         | Holds the role you choose                                                                            |
| **Group**        | Belongs to the group you choose                                                                      |
| **Organization** | Is affiliated with the organization you choose                                                       |
| **User type**    | Has the user type you choose                                                                         |
| **Attribute**    | Has a user attribute with the **Attribute name**, one of whose values equals the **Attribute value** |

A selector you started and did not finish blocks **Save** with `Complete or remove the half-filled audience selectors`. Click **Save**.
{% endstep %}

{% step %}
From the purpose's row menu choose **Details**. Under **Associate an activity**, select `Login signal collection` and click **Associate**. The toast reads `Activity associated with purpose`.
{% endstep %}

{% step %}
Transition the purpose to `REVIEW`, `APPROVED` and `ACTIVE`. Activation is where the registry checks the whole chain; a refusal names the missing piece, such as `… at least one ACTIVE association to an ACTIVE activity (PUR-001)`.

If an `ACTIVE` notice still covers an earlier version of this purpose, a dialog titled **Active notices describe an older version of this purpose** lists them. Those notices keep covering the new version; read their text, and click **Activate anyway** only if it still describes what the purpose now does. Otherwise publish a new notice version first — [Publish a privacy notice](https://docs.openiam.com/administration-guide/privacy/publish-a-privacy-notice.md).
{% endstep %}
{% endstepper %}

The purpose is now `ACTIVE`. Nobody can consent to it yet: that needs an `ACTIVE` notice covering it in the person's language, which is the next page.

## How the audience decides what a person is offered

A purpose is **offered** to a person — shown in their Privacy Center, open to their consent — when it is `ACTIVE` and either the audience matches them **or** they have already granted consent to it. The second half keeps withdrawal reachable: a person who leaves the audience still sees the purpose they consented to and can withdraw. A purpose granted and then withdrawn by somebody outside the audience disappears from their Privacy Center.

The rules that follow from it:

* **Giving or declining consent to a purpose outside your audience is refused.** Withdrawing is never refused.
* **Notices follow purposes.** A notice whose purposes are all outside a person's audience is not listed for them.
* **The audience is not access control.** It decides what is *offered*; whether an application is reachable is a [PBAC policy](https://docs.openiam.com/administration-guide/pbac/privacy-decisions.md). A policy reads the consent state whatever the audience.
* **It fails closed.** When the person's roles, groups and attributes cannot be read, purposes with a selector audience are hidden from them and purposes offered to everyone stay offered.
* **Changing the audience changes who is offered the purpose from then on.** Nobody is prompted because they have just entered the audience; they find the purpose the next time they open the Privacy Center.

An audience written before structured audiences existed — free text such as `Employees` — is offered to everyone, and the dialog shows it as **Everyone (unstructured: Employees)**. Choose **Only these people** to replace it with selectors.

## Verification

| What to check               | How                                                                                                                                                                                                            |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The chain is active         | On **Purposes**, the row shows **Status** `ACTIVE` and **Lawful authority** naming your authority; **Details** lists the activity under **Associated activities**                                              |
| The change is audited       | Search `PRIVACY_REGISTRY_CHANGE` in **Administration → Log Viewer**: one event per create, update, association and transition                                                                                  |
| The registry's own evidence | Each transition is also written to the privacy evidence chain, which **Health** verifies — [Operate the privacy service](https://docs.openiam.com/administration-guide/privacy/operate-the-privacy-service.md) |
| The audience works          | Once a notice covers the purpose, sign in to SelfService as a person inside the audience and one outside it, and open **Privacy Center**: only the first sees the purpose under **My consent**                 |

## When it goes wrong

| Symptom                                                                                                                | Likely cause                                                                                                        | Resolution                                                                                                                                                                                                             |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Activation refused with `… requires an accountable owner (ownerRef) (PUR-001)` or `… requires a description (PUR-001)` | The field is empty on this version                                                                                  | Edit the purpose — in `APPROVED` this creates a new draft version — fill it in, and take that version through the lifecycle                                                                                            |
| Activation refused with `… at least one ACTIVE association to an ACTIVE activity (PUR-001)`                            | No activity is associated, or the associated one is not `ACTIVE`                                                    | **Details** → **Associate an activity**; activate the activity first                                                                                                                                                   |
| Activation refused with `… an ACTIVE lawful authority within its validity window (PUR-001)`                            | The authority is not `ACTIVE`, or today is outside **Valid from** / **Valid to**                                    | Activate the authority, or create a version with a window that covers today                                                                                                                                            |
| A person in the audience does not see the purpose                                                                      | The purpose is not `ACTIVE`, no `ACTIVE` notice covers it in their language, or their memberships could not be read | Check the purpose status, then [the notice](https://docs.openiam.com/administration-guide/privacy/publish-a-privacy-notice.md#when-it-goes-wrong); a membership read failure hides targeted purposes until it succeeds |
| A person outside the audience still sees the purpose                                                                   | They have granted consent to it                                                                                     | Expected: it stays offered so they can withdraw                                                                                                                                                                        |
| The purpose shows `No consent needed` in the Privacy Center                                                            | Its authority is not consent-based                                                                                  | Expected for a legal obligation or a contract. If consent should govern it, it needs a consent-based authority                                                                                                         |

## Related

* [Publish a privacy notice](https://docs.openiam.com/administration-guide/privacy/publish-a-privacy-notice.md) — the next step; a purpose collects no consent without one
* [What people see in the Privacy Center](https://docs.openiam.com/administration-guide/privacy/the-privacy-center.md) — how purposes and audiences appear to the person
* [Privacy decisions](https://docs.openiam.com/administration-guide/pbac/privacy-decisions.md) — make access depend on consent for a purpose
* [Privacy reference](https://docs.openiam.com/administration-guide/privacy/privacy-reference.md) — every status, field limit and rejection message


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.openiam.com/administration-guide/privacy/register-purposes-and-authorities.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
