mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +01:00
🛒 feat: Implement Marketplace Permissions Management UI
- Added MarketplaceAdminSettings component for managing marketplace permissions. - Updated roles.js to include marketplace permissions in the API. - Refactored interface.js to streamline marketplace permissions handling. - Enhanced Marketplace component to integrate admin settings. - Updated localization files to include new marketplace-related keys. - Added new API endpoint for updating marketplace permissions in data-service.
This commit is contained in:
parent
a434d28579
commit
d07c2b3475
10 changed files with 297 additions and 29 deletions
|
|
@ -541,16 +541,7 @@ export const interfaceSchema = z
|
|||
.optional(),
|
||||
marketplace: z
|
||||
.object({
|
||||
admin: z
|
||||
.object({
|
||||
use: z.boolean().optional(),
|
||||
})
|
||||
.optional(),
|
||||
user: z
|
||||
.object({
|
||||
use: z.boolean().optional(),
|
||||
})
|
||||
.optional(),
|
||||
use: z.boolean().optional(),
|
||||
})
|
||||
.optional(),
|
||||
fileSearch: z.boolean().optional(),
|
||||
|
|
@ -576,12 +567,7 @@ export const interfaceSchema = z
|
|||
roles: true,
|
||||
},
|
||||
marketplace: {
|
||||
admin: {
|
||||
use: false,
|
||||
},
|
||||
user: {
|
||||
use: false,
|
||||
},
|
||||
use: false,
|
||||
},
|
||||
fileSearch: true,
|
||||
fileCitations: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue