feat: add support for disabling specific tools in self-hosting
- Introduced build-time and runtime options to disable tools for compliance or security. - Updated documentation to include instructions for disabling tools in Docker and Kubernetes setups. - Added translations for disabled tool messages in multiple languages. - Implemented logic to filter out disabled tools from the toolbox and shortcuts in the application. - Created utility functions to manage disabled tools configuration.
This commit is contained in:
@@ -361,5 +361,11 @@
|
||||
"simpleMode": {
|
||||
"title": "PDF 工具",
|
||||
"subtitle": "选择一个工具开始使用"
|
||||
},
|
||||
"disabledTool": {
|
||||
"title": "工具不可用",
|
||||
"heading": "此工具已被禁用",
|
||||
"message": "此工具在您的部署环境中不可用。请联系管理员以获取更多信息。",
|
||||
"backHome": "返回首页"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user