mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-05 07:29:40 +00:00
Improved enterprise plugin rollouts and protected deployed plugins against changes (#938)
This commit is contained in:
1 parent
a4c35fc2f2
commit
3940ad7f29
11 files changed
+232
-54
No files matched your search
@@ -72,6 +72,14 @@ public partial class AssistantPluginEditorDialog : MSGComponentBase
|
||||
return;
|
||||
}
|
||||
|
||||
// An assistant an organization rolled out must keep the content its enterprise approval
|
||||
// was granted for, so only its IT department may change it:
|
||||
if (this.plugin.IsManagedByConfigServer)
|
||||
{
|
||||
this.issue = T("Only locally managed assistant plugins can be edited.");
|
||||
return;
|
||||
}
|
||||
|
||||
this.pluginFile = Path.Join(this.plugin.LocalPath, PLUGIN_FILE_NAME);
|
||||
if (!File.Exists(this.pluginFile))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user