Hide header menus when not logged in #73

Closed
opened 2025-12-29 15:31:38 +01:00 by adam · 2 comments
Owner

Originally created by @bellwood on GitHub (Jun 29, 2016).

Granted you cant do anything if you are not logged in, but it looks like only some of the menu items are filtered if you aren't logged in.

I suggest hiding anything besides login in and the netbox "brand" in the header

Originally created by @bellwood on GitHub (Jun 29, 2016). Granted you cant do anything if you are not logged in, but it looks like only some of the menu items are filtered if you aren't logged in. I suggest hiding anything besides login in and the netbox "brand" in the header
adam closed this issue 2025-12-29 15:31:38 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jun 29, 2016):

NetBox was designed with the intention of allowing anonymous users to access its data (except secrets, of course) but not make any changes. If you want to disable anonymous access entirely, you can set LOGIN_REQUIRED = True in configuration.py. This will only display a login page for unauthenticated users.

@jeremystretch commented on GitHub (Jun 29, 2016): NetBox was designed with the intention of allowing anonymous users to access its data (except secrets, of course) but not make any changes. If you want to disable anonymous access entirely, you can set `LOGIN_REQUIRED = True` in [configuration.py](https://github.com/digitalocean/netbox/blob/develop/docs/configuration.md). This will only display a login page for unauthenticated users.
Author
Owner

@bellwood commented on GitHub (Jun 30, 2016):

With login required, when I view the page, I get all the menus with all the search options... they all route back to the login page, so why show them at all?

@bellwood commented on GitHub (Jun 30, 2016): With login required, when I view the page, I get all the menus with all the search options... they all route back to the login page, so why show them at all?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#73