Skip to content

Plugin registry checks upon start#3430

Open
martinbndr wants to merge 2 commits intodevelopmentfrom
users/martinbndr/registry_only_restriction
Open

Plugin registry checks upon start#3430
martinbndr wants to merge 2 commits intodevelopmentfrom
users/martinbndr/registry_only_restriction

Conversation

@martinbndr
Copy link
Contributor

Plugins will be checked upon start if they are not in the registry and REGISTRY_PLUGINS_ONLY is set to Yes they will be removed. Also plugins are allowed to be removed regardless of being in the registry or not.

Plugins will be checked upon start if they are not in the registry and REGISTRY_PLUGINS_ONLY is set to Yes they will be removed. Also plugins are allowed to be removed regardless of being in the registry or not.
@martinbndr
Copy link
Contributor Author

Useful for:

  • Plugins being removed from the registry (for example due to abuse)
  • Hosters that run Modmail for other users and let them provide their DB. They could manually add the plugin to the db and the bot will install regardless of the REGISTRY_PLUGINS_ONLY .env var.

lorenzo132
lorenzo132 previously approved these changes Jan 3, 2026
Copy link
Member

@sebkuip sebkuip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small change request for readability

Fixes the readability of the if statements (combined together with and condition)
@martinbndr martinbndr requested review from lorenzo132 and sebkuip March 7, 2026 18:20
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.

3 participants