Skip to content

Conversation

@abhi1693
Copy link
Member

Fixes: #11233

@abhi1693 abhi1693 requested a review from jeremystretch May 12, 2023 20:14
Copy link
Collaborator

@arthanson arthanson left a comment

Choose a reason for hiding this comment

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

I think this needs documentation for how to enable maintenance mode in read-only configuration?

@jeremystretch
Copy link
Member

With this fix in place, it's possible to toggle maintenance mode on/off via the dynamic configuration as well as via configuration.py as before.

@jeremystretch jeremystretch merged commit 0df6a57 into develop May 16, 2023
@jeremystretch jeremystretch deleted the fix/11233-exempt-path branch May 16, 2023 15:35
@abhi1693
Copy link
Member Author

@jeremystretch Do you think it's a good idea to remove the login and logout from the exemption? If the application is in maintenance and someone tried to logout, they will probably see an issue with session handling and the page might crash or display server error view.

jsenecal pushed a commit to jsenecal/netbox that referenced this pull request May 18, 2023
* adds maintenance exempt paths netbox-community#11233

* adds maintenance exempt paths netbox-community#11233

* Rename method & remove login/logout from exempt paths

---------

Co-authored-by: jeremystretch <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Webfrontend with database in readonly mode

4 participants