Files
pangolin/server
copilot-swe-agent[bot] 5428bf4ed0 fix: preserve rule IDs when saving policy rules through the GUI
The `setResourcePolicyRules` endpoint was deleting all existing rules and
re-inserting them on every save, causing all ruleIDs to change.

Backend: Accept an optional `ruleId` per rule in the request body and
perform an upsert — update existing rules (matched by ruleId), insert
new ones (no ruleId), and delete only rules absent from the incoming list.

Frontend: Include `ruleId` in the rules payload for existing (non-new)
rules so the backend can match and preserve them.
2026-06-26 14:37:34 +00:00
..
2026-05-01 10:48:09 -07:00
2026-02-04 15:19:58 -08:00
2026-06-12 11:29:16 -07:00
2026-02-24 17:58:11 -08:00
2026-04-21 20:51:59 -07:00
2026-06-22 15:12:07 -04:00