MR check: api-gateway !7638: feat(authz): enforce Web Plexa permissions for tenders, budget, workflows and settings (batch 3) → autest
- MR api-gateway!7638, from
cherrypick-autest/hardening-gateway-batch3intoautest, by Rizqi, updated 2026-11-03, checked at commitd0f02347. - 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), 22 code file(s) naming report data, 121 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: 22 files that name report data (they don't change what gets stored).
Checked at d0f02347 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/absent-on-branch.json: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/rules/budget-schedule.rules.ts: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/rules/collaboration.rules.ts: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/rules/documents.rules.ts: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/rules/finance.rules.ts: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/rules/settings.rules.ts: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/rules/site-people.rules.ts: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/rules/site-quality.rules.ts: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/rules/site-safety.rules.ts: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/rules/tender.rules.ts: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/rules/unmapped.baseline.json: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/accounts-payable.guard.ts: Part of the gateway authorisation hardening: a guard or policy that allows or refuses a request after read-only lookups (find calls only). It does not change what permitted requests send to services, so no stored report data changes; the matched names are lookup fields.src/authz/collaboration-policy.ts: Part of the gateway authorisation hardening: a guard or policy that allows or refuses a request after read-only lookups (find calls only). It does not change what permitted requests send to services, so no stored report data changes; the matched names are lookup fields.src/authz/project-access.guard.ts: Part of the gateway authorisation hardening: a guard or policy that allows or refuses a request after read-only lookups (find calls only). It does not change what permitted requests send to services, so no stored report data changes; the matched names are lookup fields.src/authz/route-inventory.ts: Part of the gateway authorisation hardening: a table of the permission each route needs (or a list of the routes it covers). It only decides whether a request is allowed; it sends nothing to services and changes no payload, so no stored data changes. The table, column and JSON names match route and permission names only.src/authz/tender-policy.ts: Part of the gateway authorisation hardening: a guard or policy that allows or refuses a request after read-only lookups (find calls only). It does not change what permitted requests send to services, so no stored report data changes; the matched names are lookup fields.src/controllers/site-management/incident.controller.ts: Adds the project access guard, refuses a confidential incident's detail to callers without the confidential permission, and puts the URL uuid after the body spread in category updates so the URL wins. Normal requests store the same values; is_confidential is only read.src/controllers/site-management/injury.controller.ts: Adds the project access guard and refuses a confidential injury's detail to callers without the confidential permission. Only reads and refuses requests; injuries and is_confidential are not written differently.src/controllers/project-document.controller.ts: Adds access checks (public document links return a fixed field list and refuse confidential or folder documents; copying to another project needs membership there) and puts URL ids after body spreads so the URL wins. Project documents are not read by certified dashboards; revision_number is only in the public response field list.src/controllers/role-permission.controller.ts: Adds the access guard, refuses reading another organisation's roles unless the caller is a support user, and clears the access cache after role changes. Role data written is unchanged (reports only read role title and uuid); the organization_uuid and user_uuid matches are lookup fields.src/controllers/rwa.controller.ts: Moves body/query spreads before the server-set organization_uuid, user_id and uuid so a caller can no longer override them. Resource and allocation (RWA) data lives in task services, which no certified dashboard reads, and normal requests send the same values.src/controllers/tender.controller.ts: Adds tender policy checks (tender lock, sealed-bid lockbox, closing rules) and puts URL uuids after body spreads so the URL wins; the rest is reformatting (let to const, line breaks). Normal requests send the same values to project-services, so the tenders and tender_actions columns reports read are unchanged.