Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent system plugins from being uninstalled #3411

Merged
merged 4 commits into from Jun 22, 2020

Conversation

neilsb
Copy link
Member

@neilsb neilsb commented Jun 22, 2020

Changes
Added CanUninstall property to Plugin to indicate whether a plugin can be uninstalled. If an attempt is made to uninstall a plugin with this property set to False, it is logged and the uninstallation does not proceed.

Current CanUninstall is simply a check if the Plugin Assembly path is the same as the main Jellyfin path. This could can be changed in the future to add additional/different logic if required.

Related Web PR: jellyfin/jellyfin-web#1464

Issues
Fixes #2555

@Bond-009 Bond-009 merged commit 464066f into jellyfin:master Jun 22, 2020
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.

Trying to uninstall default plugins could remove the whole jellyfin directory.
4 participants