206 lines
6.2 KiB
JSON
206 lines
6.2 KiB
JSON
{
|
|
"passed": true,
|
|
"identity": {
|
|
"db": "sgf_modules_dev_2576427d1939",
|
|
"role": "sgf_modules_qa_2576427d1939",
|
|
"cluster": "sgf_modular_regression_2576427d1939",
|
|
"port": 55439
|
|
},
|
|
"scope": "1:1:1",
|
|
"added_grants": [
|
|
{
|
|
"id": 103,
|
|
"user_id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_budget.approve",
|
|
"created_at": "2026-11-02 07:25:53",
|
|
"updated_at": "2026-11-02 07:25:53"
|
|
},
|
|
{
|
|
"id": 104,
|
|
"user_id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_budget.create",
|
|
"created_at": "2026-11-02 07:25:53",
|
|
"updated_at": "2026-11-02 07:25:53"
|
|
},
|
|
{
|
|
"id": 105,
|
|
"user_id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_budget.record",
|
|
"created_at": "2026-11-02 07:25:53",
|
|
"updated_at": "2026-11-02 07:25:53"
|
|
},
|
|
{
|
|
"id": 106,
|
|
"user_id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_budget.view",
|
|
"created_at": "2026-11-02 07:25:53",
|
|
"updated_at": "2026-11-02 07:25:53"
|
|
},
|
|
{
|
|
"id": 107,
|
|
"user_id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_requisitions.approve.department_head",
|
|
"created_at": "2026-11-02 07:25:53",
|
|
"updated_at": "2026-11-02 07:25:53"
|
|
},
|
|
{
|
|
"id": 108,
|
|
"user_id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_requisitions.configure",
|
|
"created_at": "2026-11-02 07:25:53",
|
|
"updated_at": "2026-11-02 07:25:53"
|
|
},
|
|
{
|
|
"id": 109,
|
|
"user_id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_requisitions.prepare",
|
|
"created_at": "2026-11-02 07:25:53",
|
|
"updated_at": "2026-11-02 07:25:53"
|
|
},
|
|
{
|
|
"id": 110,
|
|
"user_id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_requisitions.view",
|
|
"created_at": "2026-11-02 07:25:53",
|
|
"updated_at": "2026-11-02 07:25:53"
|
|
},
|
|
{
|
|
"id": 111,
|
|
"user_id": 2,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_requisitions.view",
|
|
"created_at": "2026-11-02 07:25:53",
|
|
"updated_at": "2026-11-02 07:25:53"
|
|
},
|
|
{
|
|
"id": 112,
|
|
"user_id": 2,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_requisitions.approve.department_head",
|
|
"created_at": "2026-11-02 07:25:53",
|
|
"updated_at": "2026-11-02 07:25:53"
|
|
},
|
|
{
|
|
"id": 113,
|
|
"user_id": 2,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_budget.view",
|
|
"created_at": "2026-11-02 07:25:54",
|
|
"updated_at": "2026-11-02 07:25:54"
|
|
},
|
|
{
|
|
"id": 114,
|
|
"user_id": 2,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_budget.approve",
|
|
"created_at": "2026-11-02 07:25:54",
|
|
"updated_at": "2026-11-02 07:25:54"
|
|
},
|
|
{
|
|
"id": 115,
|
|
"user_id": 3,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_requisitions.view",
|
|
"created_at": "2026-11-02 07:25:54",
|
|
"updated_at": "2026-11-02 07:25:54"
|
|
},
|
|
{
|
|
"id": 116,
|
|
"user_id": 3,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"permission": "purchasing_budget.view",
|
|
"created_at": "2026-11-02 07:25:54",
|
|
"updated_at": "2026-11-02 07:25:54"
|
|
}
|
|
],
|
|
"existing_grants_preserved": true,
|
|
"existing_accounts_preserved": true,
|
|
"single_approved_request": true,
|
|
"single_reservation": true,
|
|
"reservation": {
|
|
"id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"budget_id": 1,
|
|
"requisition_id": 1,
|
|
"created_by": 1,
|
|
"kind": "reserve",
|
|
"reserved_minor": 10000,
|
|
"committed_minor": 0,
|
|
"created_at": "2026-11-02 07:26:06"
|
|
},
|
|
"budget": {
|
|
"id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"cost_center_id": 1,
|
|
"year": 2026,
|
|
"kind": "operating",
|
|
"amount_minor": 1000000,
|
|
"includes_tax": true,
|
|
"reason": "Owner-authorised synthetic 10000 MZN allocation for 2026.",
|
|
"created_by": 1,
|
|
"approved_by": 2,
|
|
"approved_at": "2026-11-02 07:26:05",
|
|
"created_at": "2026-11-02 07:26:04",
|
|
"updated_at": "2026-11-02 07:26:05"
|
|
},
|
|
"decision": {
|
|
"id": 1,
|
|
"tenant_id": 1,
|
|
"company_id": 1,
|
|
"unit_id": 1,
|
|
"request_id": 1,
|
|
"position": 1,
|
|
"role": "department_head",
|
|
"decision": "approved",
|
|
"approver_id": 2,
|
|
"comment": null,
|
|
"decided_at": "2026-11-02 07:26:19"
|
|
},
|
|
"pointer_preserved": true,
|
|
"backup_sha256": "2eed6d9f775d8d5dc8c7b1606e230b8782c09a69098d31e659d9ad28a4d608fa",
|
|
"recovery_directory": "C:\/laragon\/data\/sgf-tempo\/run\/modular-regression-2576427d1939\/private\/requisitions-recovery",
|
|
"checked_at": "2026-11-02T07:27:43+00:00",
|
|
"owner_runtime_limitation": true,
|
|
"visual_review": false,
|
|
"read_only_record_visibility_limitation": true
|
|
} |