openshift / openshift/oc

RFE-3594: Whoami should show group memberships

Open
#1,323 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

lifecycle/frozen
Dominant language
Go
Stars
247
Forks
475
Avg merge
4d 9h
Merged PRs (30d)
11

Description

As a user, I would like to see what groups I'm a part of by using oc whoami...currently, you can only get this information by doing oc whoami -v 8.

It would be nice if group information could also be returned.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the oc whoami command entry point and compare its normal output with oc whoami -v 8, which currently exposes group information. Done means oc whoami returns the user's group memberships without requiring verbose logging; add or update coverage for the command's output if the surrounding code provides tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.