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:
@@ -363,5 +363,11 @@
|
||||
"simpleMode": {
|
||||
"title": "PDF Tools",
|
||||
"subtitle": "Select a tool to get started"
|
||||
},
|
||||
"disabledTool": {
|
||||
"title": "Tool Unavailable",
|
||||
"heading": "This tool has been disabled",
|
||||
"message": "This tool is not available in your deployment. Contact your administrator for more information.",
|
||||
"backHome": "Back to Home"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user