Skip to content

Allow Plugins to be hidden or disabled #19073

Closed
Closed
@arthanson

Description

@arthanson

NetBox version

v4.2.6

Feature type

Change to existing functionality

Proposed functionality

Allow plugins to be hidden or disabled in the list of installed plugins (Admin -> plugins).

  • Hidden would mean the plugin is not displayed in the list even though it is installed.
  • Disabled would mean it is shown, but the plugin is not clickable in the list (i.e. not detail view or installation settings are shown).

This could be handled by a new config parameter PLUGIN_DISPLAY:

PLUGIN_DISPLAY = {
  "netbox-auth-extension": "hidden", 
  "netbox-other-plugin": "disabled",
}

This could also potentially be done in the individual plugin in the PluginConfig.

Use case

There are some plugin cases where the plugin is just a support plugin (generally for other plugins) or for support functionality in the cloud or enterprise case where it is either confusing to show it in the plugin list, or there is no reason to show the installation information for it.

Database changes

N/A

External dependencies

N/A - new config param only.

Metadata

Metadata

Assignees

Labels

complexity: lowRequires minimal effort to implementstatus: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions