mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add support for creating service accounts (#23140)
This commit is contained in:
+3
-2
@@ -57,8 +57,9 @@ type ReducedUser struct {
|
||||
UpdatedAt time.Time `json:"updated_at" table:"updated at" format:"date-time"`
|
||||
LastSeenAt time.Time `json:"last_seen_at,omitempty" format:"date-time"`
|
||||
|
||||
Status UserStatus `json:"status" table:"status" enums:"active,suspended"`
|
||||
LoginType LoginType `json:"login_type"`
|
||||
Status UserStatus `json:"status" table:"status" enums:"active,suspended"`
|
||||
LoginType LoginType `json:"login_type"`
|
||||
IsServiceAccount bool `json:"is_service_account,omitempty"`
|
||||
// Deprecated: this value should be retrieved from
|
||||
// `codersdk.UserPreferenceSettings` instead.
|
||||
ThemePreference string `json:"theme_preference,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user