Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROLE input should be optional in neuro admin add-cluster-user #2782

Open
eviltwinhans opened this issue Jul 8, 2022 · 1 comment
Open

ROLE input should be optional in neuro admin add-cluster-user #2782

eviltwinhans opened this issue Jul 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@eviltwinhans
Copy link

eviltwinhans commented Jul 8, 2022

Description:

neuro admin add-cluster-user doesn't run without the ROLE input although it should be optional:
https://neu-ro.gitbook.io/neu-ro-cli-reference/commands/admin#add-cluster-user

Example:

% neuro admin add-cluster-user default2 kctest2d
ERROR: None is not a valid ClusterUserRoleType

Expected behavior:

neuro admin add-cluster-user should use the default role value that was configured for a cluster (for default2 that's manager currently).

Additional context:

Also, CLI Reference for the command should be updated with member role.

@eviltwinhans eviltwinhans added the bug Something isn't working label Jul 8, 2022
@eviltwinhans
Copy link
Author

@eviltwinhans eviltwinhans changed the title Role should be optional in neuro admin add-cluster-user ROLE input should be optional in neuro admin add-cluster-user Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant