Repository navigation
feat: Allow regen-ssh and fetching a single user from the cli - #1619
Conversation
|
Who all can regenerate a user's ssh key? I assumed it was only the user themselves. |
Admins can do it too on other people. But we can make that a feature of impersonating. I can drop the argument, and just always use |
|
I think if the API supports it we should mimic that here and still support username. I just wasn't sure what matches the API perms. It also seems useful for admins to be able to do this in batches if they require rotation, etc. |
Should I default to 'me' if there is no argument then? That seems like it could lead to a mistake. |
|
Intuitively, if I run With regards to |
|
I brought back the user arg |
- rename 'userUpdate.go' -> 'userupdate.go' - cmd 'users get' -> 'users show'
ammario
left a comment
There was a problem hiding this comment.
I'm only reviewing UX, not code. But LGTM.
kylecarbs
left a comment
There was a problem hiding this comment.
Minor comments on copy, but LGTM
Some more CLI user CRUD