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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃煝 feat: Unleash maintenance mode #2699

Closed
sjaanus opened this issue Dec 15, 2022 · 2 comments
Closed

馃煝 feat: Unleash maintenance mode #2699

sjaanus opened this issue Dec 15, 2022 · 2 comments

Comments

@sjaanus
Copy link
Contributor

sjaanus commented Dec 15, 2022

Describe the feature request

Allow unleash to enter maintenance mode.

The needs:

  • Lock down all changes to unleash during maintenance mode
  • Unleash is still accessible in read-only mode
  • Needs to have a clear message in the UI
  • Client API still works as before.
    • can still fetch toggles
    • can still post metrics

Solution suggestions

Iteration 1:

  • First iteration could just be an env-flag
  • locking down POST,PUT, DELETE for /api/admin
  • "override permsissions" when fething users.
  • Some kind of a middleware handling this

Iteration 2:

  • Evaluate if certain users roles should be able to bypass this
  • Time schedule for when it enters and leaves maintenance mode.
@sjaanus sjaanus self-assigned this Dec 15, 2022
@ivarconr ivarconr changed the title Unleash maintenance mode feat: Unleash maintenance mode Dec 15, 2022
This was referenced Dec 15, 2022
@ivarconr
Copy link
Member

This feature will go in to beta in v4.20

@ivarconr ivarconr changed the title feat: Unleash maintenance mode 馃敟 feat: Unleash maintenance mode Jan 12, 2023
@ivarconr
Copy link
Member

ivarconr commented Mar 6, 2023

Will go in to GA in v4.22

@ivarconr ivarconr changed the title 馃敟 feat: Unleash maintenance mode 馃煝 feat: Unleash maintenance mode Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants