Signing in
Sign in with an email and a password, complete the second factor, sign in with Google, and how the UI decides which screens you may open.
This guide describes what you can do in Heimdall UI and how to do it. It follows
the UI’s own Use Case Specification Document: each task is one use case, named
UI-01 to UI-30, with the steps of its main flow and the notable things that
can go differently. Every use case appears once, on the page for its group.
You need a running Heimdall API and UI first. The Installation page covers both. The terms used here (scope, role, person, application, permission) are explained in the Overview.
| Page | What it covers | Use cases | Who uses it |
|---|---|---|---|
| Signing in | Sign in with a password, the second factor, Google Sign-In, and how the UI decides which screens you may open. | UI-01, UI-02, UI-06, UI-07 | Everyone |
| Password and email | Recover a forgotten password, set a new one, and verify an email address. | UI-03, UI-04, UI-05 | Anyone, signed in or not |
| Restricted sessions | The single screen a person gets when processing of their account is restricted. | UI-30 | Restricted subjects |
| Your account | Your own profile and your two-factor settings. | UI-08, UI-09 | System Admin, Scope Admin, User |
| Scopes | Browse, create, update and delete scopes, manage owners, switch Google Sign-In. | UI-10 to UI-15 | System Admin, Scope Admin |
| Persons | The people of a scope. | UI-16 to UI-19 | System Admin, Scope Admin |
| Applications | The applications of a scope. | UI-20 to UI-23 | System Admin, Scope Admin |
| Scope permissions | The named permissions of a scope and whether they go into tokens. | UI-24 to UI-27 | System Admin, Scope Admin |
| Google users | The identities created when someone signs in to a scope with Google. | UI-28, UI-29 | System Admin, Scope Admin |
What the UI shows follows the role in your session. There are three roles, and a fourth case, a restricted session, that is described on its own page. The Architecture page has a diagram of the same rules.
| Pages | System Admin | Scope Admin | User | Not signed in | Restricted session |
|---|---|---|---|---|---|
| Sign in | Not offered once signed in | Not offered once signed in | Not offered once signed in | Full | Not offered |
| Second-factor challenge | Not offered once signed in | Not offered once signed in | Not offered once signed in | Only with a held challenge | Not offered |
| Password recovery, password reset, email verification | Full | Full | Full | Full | Not offered |
| Privacy notice | Full | Full | Full | Full | Full |
| Home | Full | Full | Full | Not offered | Not offered |
| Restricted sessions | Not offered | Not offered | Not offered | Not offered | Full |
| Your account (profile, two-factor) | Full | Full | Full | Not offered | Not offered |
| Scopes: listing, detail, owners, Google Sign-In switch | All scopes | Owned scopes only | Not offered | Not offered | Not offered |
| Scopes: create, delete, permanent delete | Full | Not offered | Not offered | Not offered | Not offered |
| Scopes: change name and description | Full | Read-only | Not offered | Not offered | Not offered |
| Persons, applications, permissions: list, create, update, delete | Full | Owned scopes only | Not offered | Not offered | Not offered |
| Google users: list, detail, delete | Full | Owned scopes only | Not offered | Not offered | Not offered |
| Any permanent delete (person, application, permission, Google user) | Full | Not offered | Not offered | Not offered | Not offered |
| Health and diagnostics | Full | Read-only | Not offered | Not offered | Not offered |
“Not offered” means the screen or control is hidden, or a screen says it is not available for your role. “Owned scopes only” means the screen works for the scopes you own; asking for another scope shows a “Not available for your role” panel.
Three screens belong to no numbered use case but are part of what you see.
/privacy shows the Heimdall API’s own Privacy Notice.
Anyone can open it, signed in or not, and a restricted session may open it too.The UI covers the use cases listed above. A few API capabilities have no UI and are done through the API. The first three rows below are missing from the copy of the API specification the UI is built from (API 1.4.0 has 61 operations, the copy has 58). For the other rows the UI has no screen that calls them.
| Capability | API use case | Endpoint |
|---|---|---|
| Register a password User | UC-47, Register a Password User | POST /api/auth/register |
| Open or close self-registration for a scope | Scope setting that belongs to UC-47 | PUT /api/scopes/{id}/self-registration |
| Set the base links of a scope’s verification and password-reset emails | Scope setting, email-links | PUT /api/scopes/{id}/email-links |
| List outstanding erasure requests | UC-43, List Outstanding Erasure Requests | GET /api/auth/erasure-requests |
| Restrict processing of your own identity | UC-44, Restrict Processing of Own Identity | POST /api/auth/processing-restriction |
| Resend the second-factor email code | UC-46, Resend Second-Factor Email Code | POST /api/auth/2fa/challenge/resend |
| Re-apply erasure after a database restore | erasure-reconciliation | POST /api/auth/erasure-reconciliation |
Use the API’s API reference for who may call each one and what it expects, or the API Explorer to read their request and response shapes (it does not send requests). Note that the restricted-session screen can lift a restriction (UC-45), download your data (UC-41) and request erasure (UC-42), but cannot impose a restriction in the first place; that is UC-44, above.
The source of this guide is the UI’s Use Case Specification Document and its System Requirements Document. Where the screens differ from the specification, this guide describes the screens.
Sign in with an email and a password, complete the second factor, sign in with Google, and how the UI decides which screens you may open.
Recover a forgotten password, set a new one from the emailed link, and verify an email address.
The one screen available when processing of your account is restricted at your own request: lift the restriction, download your data, request erasure, or sign out.
View and edit your own profile, and turn two-factor authentication on and off, with its recovery codes.
Browse, create, update and delete scopes, manage their owners, and switch Google Sign-In on or off.
Browse, create, update and delete the people of a scope.
Browse, create, update and delete the applications of a scope.
Browse, create, update and delete the named permissions of a scope, and choose whether each one goes into tokens.
Browse the Google users of a scope and delete them, logically or permanently.