Skip to content

Add confirmation step when admin removes their admin role at silo level - #3305

Merged
charliepark merged 1 commit into
mainfrom
confirm_admin_removal
Jul 31, 2026
Merged

Add confirmation step when admin removes their admin role at silo level#3305
charliepark merged 1 commit into
mainfrom
confirm_admin_removal

Conversation

@charliepark

@charliepark charliepark commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

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 #3211 merged first, though.

Screenshot 2026-07-24 at 4 33 32 PM

Closes #3303

@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
console Ready Ready Preview Jul 24, 2026 11:41pm

Request Review

@fakemonster fakemonster left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

more of a "will" than a "may", isn't it? oh, i suppose if you're a fleet admin then this really is just a "may"!

@charliepark

charliepark commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

i suppose if you're a fleet admin then this really is just a "may"!

There's also the complicating factor that IF a user is in a group and IF that group has silo admin permissions, then the user would still have admin permissions, but it gets a bit in the weeds to get into that.

On the other hand, we go with the scarier message of "This will remove your own silo access." on the "delete" flow:
Screenshot 2026-07-29 at 3 04 41 PM

@fakemonster

Copy link
Copy Markdown
Contributor

i think either is basically fine, preferring your original though. It's too much to enumerate the different ways you can obtain to this permission

@charliepark
charliepark merged commit b60b72b into main Jul 31, 2026
7 checks passed
@charliepark
charliepark deleted the confirm_admin_removal branch July 31, 2026 22:23
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.

Add warning when a silo admin is about to revoke their admin permissions

2 participants