• Kubernetes Submit Queue's avatar
    Merge pull request #39383 from liggitt/bind-check · 3f2a02cf
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 39694, 39383, 39651, 39691, 39497)
    
    Allow rolebinding/clusterrolebinding with explicit bind permission check
    
    Fixes https://github.com/kubernetes/kubernetes/issues/39176
    Fixes https://github.com/kubernetes/kubernetes/issues/39258
    
    Allows creating/updating a rolebinding/clusterrolebinding if the user has explicitly been granted permission to perform the "bind" verb against the referenced role/clusterrole (previously, they could only bind if they already had all the permissions in the referenced role via an RBAC role themselves)
    
    ```release-note
    To create or update an RBAC RoleBinding or ClusterRoleBinding object, a user must:
    1. Be authorized to make the create or update API request
    2. Be allowed to bind the referenced role, either by already having all of the permissions contained in the referenced role, or by having the "bind" permission on the referenced role.
    ```
    3f2a02cf
Name
Last commit
Last update
..
admission Loading commit data...
api Loading commit data...
apimachinery Loading commit data...
apis Loading commit data...
auth Loading commit data...
capabilities Loading commit data...
client Loading commit data...
cloudprovider Loading commit data...
controller Loading commit data...
conversion Loading commit data...
credentialprovider Loading commit data...
fieldpath Loading commit data...
fields Loading commit data...
generated Loading commit data...
genericapiserver Loading commit data...
httplog Loading commit data...
hyperkube Loading commit data...
kubeapiserver Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
labels Loading commit data...
master Loading commit data...
metrics Loading commit data...
probe Loading commit data...
proxy Loading commit data...
quota Loading commit data...
registry Loading commit data...
routes Loading commit data...
runtime Loading commit data...
security Loading commit data...
securitycontext Loading commit data...
selection Loading commit data...
serviceaccount Loading commit data...
ssh Loading commit data...
storage Loading commit data...
types Loading commit data...
util Loading commit data...
version Loading commit data...
volume Loading commit data...
watch Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...