Stale grants in generated ClusterRoles are now revoked
Security status unclearClusterRoles based on CRDs owned by a ProviderRevision or XRDPreviously, a resource that stopped qualifying could keep grants from an earlier reconcile; now each reconcile recalculates the rules and removes those grants. Approved permission-request grants remain fixed in the provider system role, even when no CRDs are owned.
Show release-note lines
* **Generated RBAC roles follow owned CRDs:** The RBAC manager now builds the rules in generated provider, composite, and claim `ClusterRoles` only from CRDs that exist in the cluster and are owned by the `ProviderRevision` or XRD. Rules are recomputed on every reconcile, so a resource that no longer qualifies loses its grants. Backported in #8068, originally fixed in #8054. * [Backport release-1.20] fix(rbac): derive generated roles from owned CRDs by @phisco in https://github.com/crossplane/crossplane/pull/8068github.com/crossplane/crossplane/releases/tag/v1.20.15