Skip to content

Commit 144f269

Browse files
nabokihmsenj
andcommitted
Update keps/sig-auth/3325-self-subject-attributes-review-api/README.md
Co-authored-by: Mo Khan <[email protected]> Signed-off-by: m.nabokikh <[email protected]>
1 parent d8c4db5 commit 144f269

File tree

1 file changed

+1
-8
lines changed
  • keps/sig-auth/3325-self-subject-attributes-review-api

1 file changed

+1
-8
lines changed

keps/sig-auth/3325-self-subject-attributes-review-api/README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,7 @@ type SelfSubjectAttributesReview struct {
9999
type SelfSubjectAttributesReviewStatus struct {
100100
// User attributes of the current user.
101101
// +optional
102-
UserInfo UserInfo `json:"userInfo,omitempty" protobuf:"bytes,1,opt,name=userInfo"`
103-
}
104-
105-
type UserInfo struct {
106-
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
107-
UID string `json:"uid" protobuf:"bytes,2,opt,name=uid"`
108-
Groups []string `json:"groups" protobuf:"bytes,3,opt,name=groups"`
109-
Extra map[string][]string `json:"extra" protobuf:"bytes,4,opt,name=extra"`
102+
UserInfo authenticationv1.UserInfo `json:"userInfo,omitempty" protobuf:"bytes,1,opt,name=userInfo"`
110103
}
111104
```
112105

0 commit comments

Comments
 (0)