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

Show a confirmation when hub secret will override session secret #2813

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

jonatanklosko
Copy link
Member

Closes #2812.

image

Comment on lines +239 to +244
socket
# Before the action is confirmed, we want to render the secret
# back as "untoggled", so we force a patch to override the
# client state
|> update(:hub_secrets_counter, &(&1 + 1))
|> confirm(on_confirm,
Copy link
Member Author

Choose a reason for hiding this comment

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

We need to cancel the optimistic update. Happy to hear a better solution.

Copy link

github-actions bot commented Oct 2, 2024

Uffizzi Preview deployment-56868 was deleted.

@jonatanklosko jonatanklosko merged commit 3989bd3 into main Oct 3, 2024
6 of 7 checks passed
@jonatanklosko jonatanklosko deleted the jk-session-secret-override branch October 3, 2024 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enabling hub secret with the same name as session secret removes the latter
2 participants