• 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
..
ports Loading commit data...
thirdparty Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
controller.go Loading commit data...
controller_test.go Loading commit data...
doc.go Loading commit data...
import_known_versions.go Loading commit data...
import_known_versions_test.go Loading commit data...
master.go Loading commit data...
master_openapi_test.go Loading commit data...
master_test.go Loading commit data...
services.go Loading commit data...