1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 05:09:10 +00:00

Adding me field to user type

This commit is contained in:
Prachi Damle
2017-12-21 12:41:27 -08:00
committed by Darren Shepherd
parent ed80832abc
commit e18b4a9cae
2 changed files with 3 additions and 0 deletions

View File

@@ -28,6 +28,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"`
}
type Group struct {