mirror of
https://github.com/rancher/types.git
synced 2025-04-27 18:25:05 +00:00
Set Field 'Me' to nocreate and noupdate
This commit is contained in:
parent
784a390255
commit
7a787b3549
@ -47,7 +47,7 @@ type User struct {
|
||||
Password string `json:"password,omitempty" norman:"writeOnly,noupdate"`
|
||||
MustChangePassword bool `json:"mustChangePassword,omitempty"`
|
||||
PrincipalIDs []string `json:"principalIds,omitempty" norman:"type=array[reference[principal]]"`
|
||||
Me bool `json:"me,omitempty"`
|
||||
Me bool `json:"me,omitempty" norman:"nocreate,noupdate"`
|
||||
Enabled *bool `json:"enabled,omitempty" norman:"default=true"`
|
||||
Spec UserSpec `json:"spec,omitempty"`
|
||||
Status UserStatus `json:"status"`
|
||||
|
Loading…
Reference in New Issue
Block a user