-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
Currently PyPI has a split permissions model for projects and organizations: a user may have a role on one or both depending on certain circumstances.
The general intent with ownership is that projects are either owned by users or by an organization. This means that the Project Owner
role (and the Project Maintainer
role) are mutually exclusive with the Organization Owner
role.
This model is somewhat buggy. Some related issues:
- 'Sole maintainership' checks do not take into existing account organization roles (Org-owned projects: Cannot remove yourself as Sole Owner #15095)
- The removal of the
Project Owner
role is surprising for the transferring user and should be more clearly explained (Temporarily lost acces to package while transfering to organisation. #13558) - When transferring a project to an organization, only the transferring users loses the
Project Owner
role, not otherProject Owners
who are also existingOrganization Owners
. - When adding a user as an
Organization Owner
, their roles in organization-owned projects are not removed which results in a violation of the mutual exclusivity ofProject Owner
andOrganization Owner
roles.