MR check: api-gateway !7661: feat(authz): enforce Web Plexa project permissions in the gateway (batch 1)
- MR api-gateway!7661, from
feat/hardening-gateway-permissionsintomaster, by Rizqi, updated 2026-11-04, checked at commit7beaa762. - Verdict: Safe. Of 50 certified dashboards: Broken 0, Affected 0, Needs review 0, Safe 50.
- Post the comment? Not needed (Safe). Post only if the team wants a comment on every MR.
- Changed: 0 migration(s), 0 model file(s), 7 code file(s) naming report data, 54 other file(s).
Drafted comment (not posted)
The comment a developer would see, between the two lines. Nothing is posted by the tool; whether comments are ever posted, and by whom, is not decided.
Report impact check: Safe. No certified Superset dashboard is affected by this MR (50 checked).
Read and cleared: 7 files that name report data (they don't change what gets stored).
Checked at 7beaa762 against the 50 published and certified Superset dashboards (map built 2026-11-16) by the Report Impact Checker AI Tool (read-only). Questions: Lucas (BI).
Details for Lucas
Reviewed: Safe
src/authz/rules/documents.rules.ts: Gateway authorisation (project permission rules, route inventory, accounts-payable guard, cache invalidation). It decides who may call a route and writes no report data; the matched names are route and permission identifiers.src/authz/rules/finance.rules.ts: Gateway authorisation (project permission rules, route inventory, accounts-payable guard, cache invalidation). It decides who may call a route and writes no report data; the matched names are route and permission identifiers.src/authz/rules/unmapped.baseline.json: Gateway authorisation (project permission rules, route inventory, accounts-payable guard, cache invalidation). It decides who may call a route and writes no report data; the matched names are route and permission identifiers.src/authz/accounts-payable.guard.ts: Gateway authorisation (project permission rules, route inventory, accounts-payable guard, cache invalidation). It decides who may call a route and writes no report data; the matched names are route and permission identifiers.src/authz/route-inventory.ts: Gateway authorisation (project permission rules, route inventory, accounts-payable guard, cache invalidation). It decides who may call a route and writes no report data; the matched names are route and permission identifiers.src/controllers/project-document.controller.ts: Security fix: the public document route returns only the fields its page shows, and server-set projectUUID/userUUID now win over the request body when saving drawing checklists and pins. Drawing checklists and pins are not read by any certified dashboard (Pending AP reads document_workflow_item, which this doesn't touch).src/controllers/role-permission.controller.ts: Gateway authorisation (project permission rules, route inventory, accounts-payable guard, cache invalidation). It decides who may call a route and writes no report data; the matched names are route and permission identifiers.