Files
portal/runs/permits-plan-2026-09-30/site/questions/agencies/index.yaml
T
Bendik Aagaard LynghaugandClaude Fable 5.1 3dabcf7c58 build: one page holds every need that answers a record; runs: the kommune planned again by Opus
Two needs about the same record wrote the same page, and the last won.
The record's page now holds one form per answering need, under
words["forms"][need].

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-30 08:58:55 +02:00

63 lines
1.7 KiB
YAML

name: What needs doing?
description: Everything agencies looks after.
responsible:
name: Solveig Hauge
contact: byggesak@vestmark.example
alternatives:
- name: Hearing answers
description: Sent in by A case officer who is obliged to ask another authority about an application.
action: /agencies
consequence:
- Confirm
features:
- name: Hearing answers
description: Each row is one case. The buttons record what you have just done with it.
resource:
source:
kind: kv
bucket: hearing_answers
requires_group: agencies
transitions:
- from: open
to: answered
label: Answered
- name: Invite someone into Agencies
description: They get an account, a place in Agencies, and a one-time link to set their own password or passkey.
action: /agencies
consequence:
- Invite
invite:
group: agencies
features:
- name: Who
description: Their name, and the address the account and its one-time link go to.
requirements:
- name: name
label: Name
- name: email
label: Email
type: email
- name: Invitations sent
description: Each invite and where it stands. A link that runs out unused can be sent again.
action: /agencies
consequence:
- Confirm
features:
- name: Who has been invited
description: Each row is one invitation. It is done by itself when the person signs in, and expired when the link ran out unused.
resource:
source:
kind: kv
bucket: portal_invites
requires_group: agencies
transitions:
- from: open
to: done
label: Is in
- from: expired
to: open
label: Send again
- from: expired
to: done
label: Is in