Skip to content

Add coder user edit-role command for editing user roles in CLI #207

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

Closed
matifali opened this issue Nov 8, 2024 · 0 comments · Fixed by coder/coder#17341
Closed

Add coder user edit-role command for editing user roles in CLI #207

matifali opened this issue Nov 8, 2024 · 0 comments · Fixed by coder/coder#17341
Assignees

Comments

@matifali
Copy link
Member

matifali commented Nov 8, 2024

Promoting a user to an owner role or changing user roles in a CLI context is possible only via coder organizations members edit-roles <username | user_id> [roles...]. However, this command is specific to the "organizations" structure, which is only available to Premium users. This limits OSS and single-organization deployments where role changes may still be needed.

Suggested Solution

Implement an alias for coder organizations members edit-roles to provide coder user edit-role to perform role updates for single org and OSS deployments.

@matifali matifali transferred this issue from coder/coder Nov 8, 2024
@coder-labeler coder-labeler bot added docs Improvements or additions to documentation help wanted Extra attention is needed labels Nov 8, 2024
@matifali matifali removed docs Improvements or additions to documentation help wanted Extra attention is needed labels Nov 8, 2024
@matifali matifali changed the title Addcoder user edit-role command for editing user roles in CLI Add coder user edit-role command for editing user roles in CLI Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants