You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
On the https://sourcegraph.com/cody/team/manage page, when an admin clicks "Remove" on a user, we just remove the user and free up the seat. To re-add the teammate, they need to re-invite them, and the teammate needs to accept.
An admin can revoke admin rights even from themselves (provided that there is another admin on the team) with a single click. To revert this action, they need to ask a remaining admin to make them an admin again.
Problem: This behavior can easily become problematic by admins clicking there by mistake or just clicking to see, not expecting immediate action.
Solution: Reuse the modal that we use for plan cancellations:
Revoke admin rights
Copy:
Are you sure?
By revoking admin rights for , they will no longer be able to administer users on this Cody Pro team. They will still have access to Cody Pro and remain on the team.
Do you want to proceed?
CTAs:
No, I've changed my mind
Confirm
Remove teammates:
Copy:
Are you sure?
By removing , they will be notified by email that they've been removed from the team and immediately lose access to Cody Pro.
Context:
https://sourcegraph.com/cody/team/managepage, when an admin clicks "Remove" on a user, we just remove the user and free up the seat. To re-add the teammate, they need to re-invite them, and the teammate needs to accept.Problem: This behavior can easily become problematic by admins clicking there by mistake or just clicking to see, not expecting immediate action.
Solution: Reuse the modal that we use for plan cancellations:
Copy:
CTAs: