Org-owned projects: Cannot remove yourself as Sole Owner #15095
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
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
Remove
and it errored out withCannot remove yourself as Sole Owner
My Platform
N/A
Additional context
The text was updated successfully, but these errors were encountered: