سامانه صدور فاکتور و حسابداری
ci(finora): execute real JWT posted-stock approval bypass probe in disposable WP2
davoodmehraban89 committed
Nov 23, 2026 at 18:28 UTC
c1ee67299aecfdf57b745b56932f4b5c5fdd477f
1 file changed
+11
.github/workflows/free-supabase-local-e2e.yml
+11
@@ -17,6 +17,7 @@ on:
17
- "scripts/wp2-auth-tenant-e2e.mjs"
18
- "scripts/wp3-financial-tenant-e2e.mjs"
19
- "scripts/wp2-stock-tenant-jwt-e2e.mjs"
20
+ - "scripts/wp2-phase5-posted-insert-approval-jwt-e2e.mjs"
21
- "scripts/wp2-authorized-journal-write-e2e.mjs"
22
- "scripts/wp2-source-autopost-jwt-e2e.mjs"
23
- "scripts/wp2-source-approval-boundary-jwt-e2e.mjs"
@@ -84,6 +85,16 @@ jobs:
85
set +a
86
node scripts/wp2-stock-tenant-jwt-e2e.mjs
87
88
+ # Phase5 approval gap: expected-product-RED only when BOTH real-JWT
89
+ # unauthorized direct posted stock/count inserts are persisted exactly.
90
+ - name: Probe unauthorized posted inventory source INSERT with real JWT
91
+ run: |
92
+ set -euo pipefail
93
+ set -a
94
+ . /tmp/supabase-local.env
95
+ set +a
96
+ node scripts/wp2-phase5-posted-insert-approval-jwt-e2e.mjs
97
+
98
- name: Prove authorized financial draft and post through real Auth JWT
99
run: |
100
set -euo pipefail