64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
|
|
{
|
||
|
|
"memo_id": "01K4LOGIN00000000000000001",
|
||
|
|
"memo_version": 1,
|
||
|
|
"locale": "en",
|
||
|
|
"ui_release": "informed-decision@0.4.0",
|
||
|
|
"proposed_hat": {
|
||
|
|
"id": "hat:finance-controller",
|
||
|
|
"label": "Finance Controller",
|
||
|
|
"kind": "access_profile",
|
||
|
|
"elevates": false,
|
||
|
|
"permissions_preview": ["invoice.read", "invoice.export"],
|
||
|
|
"scope_id": "tenant:acme"
|
||
|
|
},
|
||
|
|
"proposed_hat_source": "last_used",
|
||
|
|
"available_hats": [
|
||
|
|
{
|
||
|
|
"id": "hat:finance-controller",
|
||
|
|
"label": "Finance Controller",
|
||
|
|
"kind": "access_profile",
|
||
|
|
"elevates": false,
|
||
|
|
"permissions_preview": ["invoice.read", "invoice.export"],
|
||
|
|
"scope_id": "tenant:acme"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "hat:auditor-readonly",
|
||
|
|
"label": "Auditor (read-only)",
|
||
|
|
"kind": "perspective",
|
||
|
|
"elevates": false,
|
||
|
|
"permissions_preview": ["invoice.read"],
|
||
|
|
"scope_id": "tenant:acme"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "hat:payroll-admin",
|
||
|
|
"label": "Payroll Admin",
|
||
|
|
"kind": "role",
|
||
|
|
"elevates": true,
|
||
|
|
"permissions_preview": ["payroll.run", "employee.export-all"],
|
||
|
|
"scope_id": "tenant:acme"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"available_scopes": [
|
||
|
|
{
|
||
|
|
"kind": "tenant",
|
||
|
|
"id": "tenant:acme",
|
||
|
|
"label": "ACME Corp",
|
||
|
|
"environment": "prod",
|
||
|
|
"requires_new_bind": true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"kind": "tenant",
|
||
|
|
"id": "tenant:beta",
|
||
|
|
"label": "Beta GmbH",
|
||
|
|
"environment": "prod",
|
||
|
|
"requires_new_bind": true
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"last_session": {
|
||
|
|
"ended_at": "2026-09-08T16:12:00Z",
|
||
|
|
"hat_id": "hat:finance-controller",
|
||
|
|
"scope_id": "tenant:acme"
|
||
|
|
},
|
||
|
|
"situation_note": "Last session Tuesday 18:12 CEST as Finance Controller in ACME. Payroll Admin is an elevating hat and needs its own bind."
|
||
|
|
}
|