LibreChat/api
Danny Avila 447e377b0b
✍️ feat: Authorize a Schedule Again in the Same Step That Edits It (#18541)
* ✍️ 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.
2026-11-19 14:52:17 -05:00
..
app/clients 🚪 fix: Refuse Interactive MCP Sign-in on Remote Agent API Runs (#18058) 2026-11-11 20:56:17 -05:00
cache 🛡️ fix: Invalidate Regional Role Caches (#18099) 2026-11-18 23:34:16 -08:00
config 🪦 refactor: Remove Dead Legacy API Modules and Root Tooling (#17114) 2026-10-15 12:25:24 +02:00
db fix: Guard Mongo Cleanup In Api Services Tests (#17990) 2026-11-11 11:10:39 +01:00
models 🚜 feat: Support Native PostgreSQL Tool Favorites (#18032) 2026-11-11 12:07:07 -05:00
server ✍️ feat: Authorize a Schedule Again in the Same Step That Edits It (#18541) 2026-11-19 14:52:17 -05:00
strategies fix: Guard Mongo Cleanup In Api Services Tests (#17990) 2026-11-11 11:10:39 +01:00
test 🧪 test: verify policy rejection billing effects with the real recorder (#18412) 2026-11-18 09:29:21 -05:00
utils 🦊 feat: Add Claude Fable 5.2 Support (#18015) 2026-11-10 12:54:39 -05:00
jest.config.js 🦿 chore: Bump Agents SDK to 4.2.1 (#17664) 2026-10-31 15:17:05 -04:00
jsconfig.json
package.json 🚛 chore: Upgrade Agents SDK to v4.2.12 (#18523) 2026-11-19 13:50:55 -05:00
recover-skill-upload.js 🔌 feat: Integrate Durable Skill Lifecycle Across Writers and Routes (#17043) 2026-10-16 09:05:05 -07:00
typedefs.js 🪦 refactor: Remove Dead Legacy API Modules and Root Tooling (#17114) 2026-10-15 12:25:24 +02:00