Skip to content

Removing yourself from owner of a gem should confirm first #5058

Open
@martinemde

Description

When you're editing ownerships, it's possible to remove yourself. This is fine.

However, it's really easy to misclick and delete yourself, which could be an especially painful thing to correct depending on the gem and its owners.

Steps to Reproduce

  1. Be an owner of a gem with at least 1 other person
  2. Remove yourself as owner when you meant to remove someone else
  3. Wonder why you lost access to the ownership view of the gem.

Expected Behavior

I am presented with a more explicit confirmation about the irreversible thing I'm doing.

Another improvement would be to set the current user apart from the other owners, maybe always at the top and always with a separate border.

Current Behavior

With more than a couple owners, making sure you're clicking the right one is not foolproof.

Possible Solution

Since this is so painful to reverse and so unique compared to removing anyone else, maybe we should add a specific page for the "remove myself" action that says "this is irreversible. you will need to ask another owner to re-add to regain ownership" and offers a confirm.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions