1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 14:59:16 +00:00

Set perms on password

This commit is contained in:
Darren Shepherd
2017-12-18 16:55:03 -07:00
parent c5904b3828
commit 638d526a3a
2 changed files with 11 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ type User struct {
DisplayName string `json:"displayName,omitempty"`
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
Password string `json:"password,omitempty" norman:"writeOnly,noupdate"`
MustChangePassword bool `json:"mustChangePassword,omitempty"`
PrincipalIDs []string `json:"principalIds,omitempty" norman:"type=array[reference[Principal]]"`
}