LibreChat/api/server/routes
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
..
__test-utils__ 🐨 feat: Read Subagent Messages Through Their Parent Conversation (#18187) 2026-11-17 10:05:42 -05:00
__tests__ 🔓 fix: Keep owner as the Default Mode for API Key Runs (#18448) 2026-11-19 06:58:22 -05:00
admin 🚜 feat: Support Native PostgreSQL Tool Favorites (#18032) 2026-11-11 12:07:07 -05:00
agents 📰 feat: Expose Conversation Metadata Through the Agents API (#18490) 2026-11-19 10:25:45 -05:00
assistants 📎 feat: Resolve Channel Attachments and Usage Summaries (#17608) 2026-11-10 21:04:02 -08:00
files fix: Guard Mongo Cleanup In Api Services Tests (#17990) 2026-11-11 11:10:39 +01:00
accessPermissions.directory.test.js 🥸 fix: Resolve Directory Principals Through Trusted Integration Data (#17825) 2026-11-10 09:22:08 -05:00
accessPermissions.js 🪸 refactor: Separate Shared-Link and Schedule Persistence (#18031) 2026-11-10 15:44:13 -05:00
accessPermissions.sharePolicy.test.js 🪸 refactor: Separate Shared-Link and Schedule Persistence (#18031) 2026-11-10 15:44:13 -05:00
accessPermissions.test.js fix: Guard Mongo Cleanup In Api Services Tests (#17990) 2026-11-11 11:10:39 +01:00
actions.js ⏱️ fix: Bound Outbound Calls Made Inside a Request (#17263) 2026-10-21 19:10:13 +02:00
apiKeys.js 🗝️ feat: Limit an API Key's Runs to the MCP Tools Its Owner Granted It (#18280) 2026-11-18 13:28:39 -05:00
auth.2fa-ratelimit.test.js 🚪 fix: Let Users Sign Out of Required Two-Factor Enrollment (#17956) 2026-11-09 17:40:50 +01:00
auth.cloudfront.test.js 🚪 fix: Let Users Sign Out of Required Two-Factor Enrollment (#17956) 2026-11-09 17:40:50 +01:00
auth.cross-site.test.js 🚪 fix: Let Users Sign Out of Required Two-Factor Enrollment (#17956) 2026-11-09 17:40:50 +01:00
auth.js 🚪 fix: Let Users Sign Out of Required Two-Factor Enrollment (#17956) 2026-11-09 17:40:50 +01:00
auth.reset-password-ratelimit.test.js 🚪 fix: Let Users Sign Out of Required Two-Factor Enrollment (#17956) 2026-11-09 17:40:50 +01:00
balance.js
banner.js
categories.js
channels-feedback.js 🌐 feat: Wire Responses and Channel Lifecycle APIs (#17611) 2026-11-10 21:04:03 -08:00
channels-identity.js 🔗 fix: Update Slack Account Linking in Place (#18039) 2026-11-10 21:04:12 -08:00
channels.js 🌐 feat: Connect Organization Slack Workspaces to Agents (#17811) 2026-11-10 21:04:10 -08:00
code-environments.js 🧑‍✈️ feat: Enroll Machines Through Explicit Browser Approval (#17344) 2026-10-22 16:54:00 +02:00
code-environments.test.js 🧑‍✈️ feat: Enroll Machines Through Explicit Browser Approval (#17344) 2026-10-22 16:54:00 +02:00
config.js 🪶 fix: Time Out Client Refresh and Trim Lodash Imports (#17467) 2026-10-27 23:30:08 +01:00
convos.js 📜 fix: Read a Child Thread's Messages a Page at a Time (#18424) 2026-11-18 11:07:57 -05:00
endpoints.js 🎚️ feat: Filter OpenRouter Reasoning Efforts by the Selected Model (#16808) 2026-10-08 18:04:13 +02:00
index.js 🌐 feat: Wire Responses and Channel Lifecycle APIs (#17611) 2026-11-10 21:04:03 -08:00
insights.js
keys.js 🔏 fix: Encrypt Provider Keys With v3, Reject Plaintext in decryptV2 and Default to Strong Backup Codes (#17051) 2026-10-13 22:19:37 +02:00
mcp.js 🔌 feat: Expose MCP Connection Observation Metadata (#18473) 2026-11-18 22:42:42 -08:00
memories.js 🧮 fix: Count Memory Tokens After the o200k Encoding Loads (#17892) 2026-11-08 15:23:40 +01:00
memories.test.js 🧮 fix: Count Memory Tokens After the o200k Encoding Loads (#17892) 2026-11-08 15:23:40 +01:00
messages.js 🗂️ perf: Index Hot Lookups and Fix the Message Cursor (#17464) 2026-10-28 00:55:02 +01:00
models.js
oauth.js 🪟 fix: Serve the OAuth Error Page for Connect Callback Failures (#17946) 2026-11-09 17:41:17 +01:00
oauth.state.test.js
oauth.test.js 🪟 fix: Serve the OAuth Error Page for Connect Callback Failures (#17946) 2026-11-09 17:41:17 +01:00
openapi.js
presets.js
presets.test.js
projects.js
prompts.js 🔗 feat: Link Langfuse Prompts as Agent Instructions (#17294) 2026-10-30 17:28:37 +01:00
prompts.test.js fix: Guard Mongo Cleanup In Api Services Tests (#17990) 2026-11-11 11:10:39 +01:00
pullRequests.js 🔑 feat: Let Users Connect Their Own Account for Pull Request Lookups (#16989) 2026-10-12 15:58:23 +02:00
roles.js 📜 feat: Audit Admin Role, Group, Config and IdP Role Mutations (#17052) 2026-10-14 23:57:07 +02:00
rum.js feat: add masked session replay lifecycle (#17194) 2026-10-21 14:51:15 -04:00
schedules.js ✍️ feat: Authorize a Schedule Again in the Same Step That Edits It (#18541) 2026-11-19 14:52:17 -05:00
search.js 🧹 chore: Clear the Whole-Repo Lint Errors on Dev (#17702) 2026-11-01 01:23:47 +01:00
settings.js
share.js 🪸 refactor: Separate Shared-Link and Schedule Persistence (#18031) 2026-11-10 15:44:13 -05:00
skills.js 🧾 fix: Read Skill Upload Filenames as UTF-8 (#17880) 2026-11-07 18:01:30 +01:00
skills.tenant.test.js fix: Guard Mongo Cleanup In Api Services Tests (#17990) 2026-11-11 11:10:39 +01:00
skills.test.js fix: Guard Mongo Cleanup In Api Services Tests (#17990) 2026-11-11 11:10:39 +01:00
slack-dispatch.js 🌐 feat: Connect Organization Slack Workspaces to Agents (#17811) 2026-11-10 21:04:10 -08:00
slack-workspaces.js 🔐 feat: Add Admin-Assigned Slack Bot Managers (#17836) 2026-11-10 21:04:12 -08:00
static.js
tags.js
traces.js
user.js 🏨 fix: Restore Strict Tenant Startup and Sign-In (#17441) 2026-10-26 01:08:30 +01:00
user.verify-ratelimit.test.js