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

Hide header menus when not logged in #109

Closed
bellwood opened this issue Jun 29, 2016 · 2 comments
Closed

Hide header menus when not logged in #109

bellwood opened this issue Jun 29, 2016 · 2 comments

Comments

@bellwood
Copy link
Contributor

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

@bellwood bellwood changed the title Hide header menus when not logged in [Change] Hide header menus when not logged in Jun 29, 2016
@jeremystretch
Copy link
Member

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.

@bellwood
Copy link
Contributor Author

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?

@mdlayher mdlayher changed the title [Change] Hide header menus when not logged in Hide header menus when not logged in Jun 30, 2016
if-fi pushed a commit to if-fi/netbox that referenced this issue Oct 1, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants