-
Notifications
You must be signed in to change notification settings - Fork 2
owner
rp owner <package>
rp owner <package> add <owner>
rp owner <package> remove <owner>
rp owner
allows to display or maintain package owners in the registry. Every package published in the registry has at least one owner, starting with the one that published the package in the registry. Only owners of a package are allowed to modify a package in the registry or publish new versions.
If called with just a package name as argument, rp owner
will list the users who have the right to modify the package and publish new versions. This can be handy if you'll need to contact them directly.
To add a new owner do a rp owner <package> add <owner>
, specifying the package and the name of the user to whom package maintenance rights should be granted. Obviously you need to be among the package owners to grant those rights.
To revoke package maintenance rights of a user do rp owner <package> remove <owner>
. Again only owners can do that. Note that you can remove yourself from the list of owners of a package, as long as there's at least one owner left (useful eg. when transferring ownership to a different user).