mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add display_name field to groups (#8740)
* feat: add display_name field to groups This is a non-unique human friendly group name for display purposes. This means a display name can be used instead of using an environment var to remap groups with OIDC names to Coder names. Now groups can retain the OIDC name for mapping, and use a display name for display purposes.
This commit is contained in:
@@ -6,5 +6,8 @@ Create a user group
|
||||
-u, --avatar-url string, $CODER_AVATAR_URL
|
||||
Set an avatar for a group.
|
||||
|
||||
--display-name string, $CODER_DISPLAY_NAME
|
||||
Optional human friendly name for the group.
|
||||
|
||||
---
|
||||
Run `coder --help` for a list of global options.
|
||||
|
||||
@@ -9,6 +9,9 @@ Edit a user group
|
||||
-u, --avatar-url string
|
||||
Update the group avatar.
|
||||
|
||||
--display-name string, $CODER_DISPLAY_NAME
|
||||
Optional human friendly name for the group.
|
||||
|
||||
-n, --name string
|
||||
Update the group name.
|
||||
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@ Usage: coder groups list [flags]
|
||||
List user groups
|
||||
|
||||
[1mOptions[0m
|
||||
-c, --column string-array (default: name,organization id,members,avatar url)
|
||||
Columns to display in table output. Available columns: name,
|
||||
organization id, members, avatar url.
|
||||
-c, --column string-array (default: name,display name,organization id,members,avatar url)
|
||||
Columns to display in table output. Available columns: name, display
|
||||
name, organization id, members, avatar url.
|
||||
|
||||
-o, --output string (default: table)
|
||||
Output format. Available formats: table, json.
|
||||
|
||||
Reference in New Issue
Block a user