Add confirmation step when admin removes their admin role at silo level#3305
Open
charliepark wants to merge 1 commit into
Open
Add confirmation step when admin removes their admin role at silo level#3305charliepark wants to merge 1 commit into
charliepark wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When working on #3211, I noticed that a silo admin can update their own silo admin role to a role with fewer permissions (say, "viewer"), which would act as a one-way door, preventing them from un-do-ing that change. We don't want to fully prevent that from happening, but we can have a warning, just like we do for when they might delete their own role.
Keeping this outside of #3211 just because that one's long enough already, and this is mostly unrelated to that. Probably makes sense to get #2311 merged first, though.
Closes #3303