2025-04-15 18:30:20 -04:00
|
|
|
coder v0.0.0-devel
|
|
|
|
|
|
|
|
|
|
USAGE:
|
|
|
|
|
coder users edit-roles [flags] <username|user_id>
|
|
|
|
|
|
|
|
|
|
Edit a user's roles by username or id
|
|
|
|
|
|
2026-09-30 12:36:30 -04:00
|
|
|
- --roles replaces the user's full set of site roles; any role not listed is
|
|
|
|
|
removed:
|
|
|
|
|
|
|
|
|
|
$ coder users edit-roles example_user --roles owner user-admin
|
|
|
|
|
|
2025-04-15 18:30:20 -04:00
|
|
|
OPTIONS:
|
|
|
|
|
--roles string-array
|
2026-09-30 12:36:30 -04:00
|
|
|
Replaces the user's full set of site roles with this list. Any
|
|
|
|
|
existing role not included here is removed.
|
2025-04-15 18:30:20 -04:00
|
|
|
|
|
|
|
|
-y, --yes bool
|
2026-01-16 18:04:57 -08:00
|
|
|
Bypass confirmation prompts.
|
2025-04-15 18:30:20 -04:00
|
|
|
|
|
|
|
|
———
|
|
|
|
|
Run `coder --help` for a list of global options.
|