mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-18 14:08:21 +00:00
* ✒️ fix: Bind Assistant Avatar Updates to Authorized Owners
* test: Keep Avatar Regression Checks Lintable and Typed
* fix: Preserve Provider-Only Assistant Avatar References
* fix: Preserve Assistant Identity and Avatar Access Across Legacy References
* test: Align Legacy Avatar Authorization Projection
* fix: Initialize Managed Assistant References With the Provider Author
* fix: Require Verified Ownership Before Initializing Private Avatars
* fix: Commit Assistant Avatar Identity Before Owner-Aware Cleanup
* test: Seed Indexed Avatar Users With Unique Emails
* fix: Serialize Assistant Avatar Publication and Cleanup
---------
Co-authored-by: Lia <lia@librechat.ai>
5 lines
276 B
JavaScript
5 lines
276 B
JavaScript
const { createAssistantAuthorValidator } = require('@librechat/api');
|
|
const { hasCapability } = require('~/server/middleware/roles/capabilities');
|
|
const { getAssistant } = require('~/models');
|
|
|
|
module.exports = createAssistantAuthorValidator({ getAssistant, hasCapability });
|