26 lines
1.5 KiB
JSON
26 lines
1.5 KiB
JSON
{
|
|
"version": "SGF-STOCK-TRANSIT-LOTS-CLOSURE-QA-v1",
|
|
"approved": true,
|
|
"approval": "Autorização expressa do proprietário em10/11/2026: Autorizar este fecho QA de Stock",
|
|
"applied": true,
|
|
"scope": {"tenant_id": 1, "company_id": 2, "unit_id": 2},
|
|
"installation": "cc50a276c10c",
|
|
"new_accounts": false,
|
|
"new_database_roles": false,
|
|
"real_access": false,
|
|
"new_host_rights": [
|
|
{"permission": "stock.transfers.receive", "recipient_profile": "workshop_verify", "scope": "unit", "destination_warehouse_ids": [1]},
|
|
{"permission": "stock.lots.review", "recipient_profile": "workshop_verify", "scope": "unit", "warehouse_ids": [3], "only_new_qa_lot_article": true}
|
|
],
|
|
"existing_native_functions_to_grant_only_in_qa": [
|
|
{"native_user_id": 6, "functions": ["inventory_lot_read", "inventory_lot_prepare", "inventory_lot_hold"]},
|
|
{"native_user_id": 3, "functions": ["inventory_lot_read", "inventory_lot_review", "inventory_lot_release", "inventory_adjust_review"]}
|
|
],
|
|
"receiving_native_identity": 3,
|
|
"receiving_authority": "explicit scoped SGF stock.transfers.receive; not a generic native warehouse grant",
|
|
"preserve_existing_select_only_reader": true,
|
|
"no_new_native_warehouse_function": true,
|
|
"fixture_examples": {"internal_transfer_milli": 1000, "owned_stock_value_unchanged_minor": 7500, "lot_receipt_milli": 4000, "lot_count_milli": 3500, "lot_unit_value_minor": 2000, "lot_adjustment_expense_minor": 1000, "lot_final_value_minor": 7000},
|
|
"scope_document": "docs/SGF_STOCK_FINAL_SCOPE.md"
|
|
}
|