mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-20 06:51:59 +00:00
* ✍️ feat: Authorize a Schedule Again in the Same Step That Edits It Editing a schedule ended its grant, and the edit form had no way to make it again: the owner saved, then had to open the authorization dialog and confirm. The edit form now carries the same section as the create form, starting from the grant the schedule has, and the edit writes the new grant with it. * 🚧 fix: Fence an Edit's New Grant on the Grant It Was Decided Against An edit that carries an authorization writes the grant with the schedule, fenced on the schedule's edit generation. Consent writes do not move that generation, so the edit could undo a revocation, or drop a pin or mark a run added, made after the new grant was decided. The write now names the grant it replaces and is refused unless that is still what is stored, untouched. * ✅ test: Expect the Lifetime the Edit Form Now Starts At * 🔂 fix: Check the Grant an Edit Replaces on the Decision's Final Read The decision reads the stored grant twice and compared the owner's expected revision with the first read only. A revocation landing between the two was then taken as the grant to replace, and the edit's fenced write matched it. The final read is now held to the same revision. |
||
|---|---|---|
| .. | ||
| controllers | ||
| middleware | ||
| routes | ||
| services | ||
| utils | ||
| cleanup.js | ||
| csp.spec.js | ||
| experimental.js | ||
| experimental.spec.js | ||
| index.js | ||
| index.metrics.spec.js | ||
| index.spec.js | ||
| persistence.spec.js | ||
| socialLogins.js | ||
| socialLogins.spec.js | ||
| telemetry.js | ||
| telemetry.spec.js | ||