mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 16:34:24 +00:00
Add provider-specific creation permissions
This commit is contained in:
1 parent
6e735523c6
commit
d65e11fbb2
7 files changed
+36
-8
No files matched your search
@@ -385,9 +385,16 @@ CONFIG["SETTINGS"] = {}
|
||||
-- A short notification is still shown when this setting is disabled.
|
||||
-- CONFIG["SETTINGS"]["DataApp.ShowPromptInjectionAlert"] = true
|
||||
|
||||
-- Configure the user permission to add providers:
|
||||
-- Configure the master permission to add providers. When set to false, the add
|
||||
-- buttons stay visible but are disabled regardless of the provider-specific settings.
|
||||
-- CONFIG["SETTINGS"]["DataApp.AllowUserToAddProvider"] = false
|
||||
|
||||
-- Fine-tune the permission to add each provider type. These settings only allow
|
||||
-- adding providers while DataApp.AllowUserToAddProvider is also true.
|
||||
-- CONFIG["SETTINGS"]["DataApp.AllowUserToAddLLMProvider"] = false
|
||||
-- CONFIG["SETTINGS"]["DataApp.AllowUserToAddEmbeddingProvider"] = false
|
||||
-- CONFIG["SETTINGS"]["DataApp.AllowUserToAddTranscriptionProvider"] = false
|
||||
|
||||
-- Configure the user permission to import plugin archives from disk.
|
||||
-- When set to false, the import button on the plugins page stays visible but is disabled.
|
||||
-- CONFIG["SETTINGS"]["DataApp.AllowUserToImportPlugins"] = false
|
||||
|
||||
Reference in new issue
Block a user