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

Org-owned projects: Cannot remove yourself as Sole Owner #15095

Open
webknjaz opened this issue Dec 21, 2023 · 0 comments
Open

Org-owned projects: Cannot remove yourself as Sole Owner #15095

webknjaz opened this issue Dec 21, 2023 · 0 comments
Labels
bug 🐛 organizations requires triaging maintainers need to do initial inspection of issue security Security-related issues and pull requests usability UX/UI design, user experience, user interface

Comments

@webknjaz
Copy link
Member

Describe the bug

It looks like Warehouse gets confused when an org owner looks into the Collaborators page of a project that is also owned by that same org, it thinks that the logged in owner shouldn't be allowed to be deleted.
It's possible to change other users from Owners to Maintainers and back, but not oneself. Even when that other account is the only one in the list (except for the org).

Expected behavior

The PyPI shouldn't think that the currently logged in user is the sole owner of a project when it's owned by the org. It should also allow changing oneself from Owner to Maintainer in the UI (it's currently inactive).

To Reproduce

  1. I've gone to https://pypi.org/manage/project/yarl/collaboration/
  2. Saw myself listed as an owner (plus another person as a maintainer), and the project is org-owned
  3. I clicked Remove and it errored out with Cannot remove yourself as Sole Owner

My Platform

N/A

Additional context

pypi-aiocassandra-no-owner-no-error
pypi-yarl-sole-owner-error

@webknjaz webknjaz added UX/UI design, user experience, user interface usability requires triaging maintainers need to do initial inspection of issue bug 🐛 security Security-related issues and pull requests organizations labels Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 organizations requires triaging maintainers need to do initial inspection of issue security Security-related issues and pull requests usability UX/UI design, user experience, user interface
Projects
None yet
Development

No branches or pull requests

1 participant