netbox-software-manager icon indicating copy to clipboard operation
netbox-software-manager copied to clipboard

Add optional configuration for top level navigation given netbox 3.4

Open ryanmerolle opened this issue 2 years ago • 2 comments

See https://github.com/ryanmerolle/netbox-acls/blob/dev/netbox_acls/navigation.py for an example approach.

ryanmerolle avatar Jan 26 '23 16:01 ryanmerolle

is it about this part? did not know about this feature, will check.

if plugin_settings.get("top_level_menu"):
    menu = PluginMenu(
        label="Access Lists",
        groups=(("ACLs", menu_buttons),),
        icon_class="mdi mdi-lock",
    )
else:
    menu_items = menu_buttons

alsigna avatar Jan 26 '23 17:01 alsigna

Introduced in 3.4.0

https://github.com/netbox-community/netbox/issues/9071

ryanmerolle avatar Jan 26 '23 17:01 ryanmerolle