Skip to content

Include owner role in gem owner #9267

@colby-swandale

Description

@colby-swandale

Describe the problem as clearly as you can

rubygems/rubygems.org#4883 added a new ability for gem owners to be assigned a role that would determine what actions they can perform (mostly admin related actions). When rendering owners of a gem with the gem owner <gem> command, rubygems should include the role in the list of owners.

Did you try upgrading RubyGems?

N/A

Post steps to reproduce the problem

$ gem owners compact_index_client
Owners for gem: compact_index_client
- colby-swandale
...

Note:
a) Requires the user to be signed in
b) Requires a gem name that the user is an owner of

What were you expecting to happen?

The output should include the role in the list of owners, ie:

$ gem owners compact_index_client
Owners for gem: compact_index_client
- colby-swandale (owner)
- another-user (maintainer)
...

Run gem env and paste the output below

N/A

Note

This issue depends on rubygems/rubygems.org#5821, which will update the owners API to include the role field.

Metadata

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