mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
* feat: Add 'Run Code' and 'Temporary Chat' permissions to role management * feat: Add NextFunction typedef to api/typedefs.js * feat: Add temporary chat and run code permissions to role schema * refactor: Enhance access check middleware with logging for permission errors and better typing * refactor: Set default value of USE permission to true in multiConvoPermissionsSchema * refactor: Implement checkAccess function for separation of permission validation logic from middleware * feat: Integrate permission checks for tool execution and enhance Markdown code block with execution capability * fix: Convert REDIS_MAX_LISTENERS to a number, closes #5979
8 lines
198 B
JavaScript
8 lines
198 B
JavaScript
const checkAdmin = require('./checkAdmin');
|
|
const { checkAccess, generateCheckAccess } = require('./generateCheckAccess');
|
|
|
|
module.exports = {
|
|
checkAdmin,
|
|
checkAccess,
|
|
generateCheckAccess,
|
|
};
|