Skip to content

Fixed configuration-managed settings remaining active after their configuration plugin was removed - #892

Open
peerschuett wants to merge 1 commit into
MindWorkAI:mainfrom
peerschuett:improve_config_plugin_cleanup
Open

Fixed configuration-managed settings remaining active after their configuration plugin was removed#892
peerschuett wants to merge 1 commit into
MindWorkAI:mainfrom
peerschuett:improve_config_plugin_cleanup

Conversation

@peerschuett

@peerschuett peerschuett commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

As an administrator, I want settings managed by a configuration plugin to be reverted when that plugin is removed, so users are not left with restrictions they can no longer change.

Previously, only the configured value was persisted, while information about which plugin owned it was lost after restarting AI Studio. If the plugin was removed before the next startup, settings such as hidden assistants or disabling provider creation could remain active indefinitely—with no UI option for the user to restore them.

This PR persists configuration ownership and repairs legacy config-only settings that may already be orphaned (see code in app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Loading.cs )
All other settings can be repaired by the user themselves, because the users can change the settings.

This repair is only necessary once after this code change was applied.

@peerschuett peerschuett self-assigned this Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant