From 7a787b354966afba4bec2646dbecdb31e7da9dba Mon Sep 17 00:00:00 2001 From: GGGitBoy <1812041288@qq.com> Date: Wed, 25 Mar 2020 16:49:09 +0800 Subject: [PATCH] Set Field 'Me' to nocreate and noupdate --- apis/management.cattle.io/v3/authn_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/authn_types.go b/apis/management.cattle.io/v3/authn_types.go index f9160e93..94fb8351 100644 --- a/apis/management.cattle.io/v3/authn_types.go +++ b/apis/management.cattle.io/v3/authn_types.go @@ -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"`