Add missing UID in SubjectAccessReviewSpec
WebhookAuthorizer's Authorize should send *all* the information present in the user.Info data structure. We are not sending the UID currently.
This commit is contained in:
@@ -52583,6 +52583,10 @@
|
||||
"description": "ResourceAuthorizationAttributes describes information for a resource access request",
|
||||
"$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceAttributes"
|
||||
},
|
||||
"uid": {
|
||||
"description": "UID information about the requesting user.",
|
||||
"type": "string"
|
||||
},
|
||||
"user": {
|
||||
"description": "User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups",
|
||||
"type": "string"
|
||||
@@ -52798,6 +52802,10 @@
|
||||
"description": "ResourceAuthorizationAttributes describes information for a resource access request",
|
||||
"$ref": "#/definitions/io.k8s.api.authorization.v1beta1.ResourceAttributes"
|
||||
},
|
||||
"uid": {
|
||||
"description": "UID information about the requesting user.",
|
||||
"type": "string"
|
||||
},
|
||||
"user": {
|
||||
"description": "User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups",
|
||||
"type": "string"
|
||||
|
@@ -482,6 +482,10 @@
|
||||
"extra": {
|
||||
"type": "object",
|
||||
"description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."
|
||||
},
|
||||
"uid": {
|
||||
"type": "string",
|
||||
"description": "UID information about the requesting user."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@@ -482,6 +482,10 @@
|
||||
"extra": {
|
||||
"type": "object",
|
||||
"description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here."
|
||||
},
|
||||
"uid": {
|
||||
"type": "string",
|
||||
"description": "UID information about the requesting user."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user