Policies · Kong Mesh
AccessRole
Kong Mesh RBAC role listing resource types and qualifiers a subject may access.
Behaviour per target
Output: AccessRole
Scanned in both environments (not on the default skip list). Advisories for 3.0:
rules[].typesnaming a removed type (legacy policies,MeshGateway*, …) is rejected withunknown types.when[].targetRef.kindother thanMesh/Dataplaneis rejected.- A
when[]entry that only setssources/destinations/selectorsis rejected withqualifier cannot be empty.
Output: AccessRole
rules[].types: legacy types renamed to their Mesh* successor (TrafficPermission→MeshTrafficPermission, …), types with no successor removed, duplicates collapsed.when[]entries with only legacy qualifiers are removed. The other qualifiers are kept, so the grant does not widen.- A rule mixing targetRef policies with other types is reported (3.0 rejects it); split it by hand.
when[].targetRef.kind: MeshServiceis reported, not converted: the label set is not in the manifest.
Timeline
| Version | Change |
|---|---|
| 3.0 | Removed types and the sources/destinations/selectors qualifiers rejected; when[].targetRef limited to Mesh and Dataplane. |
Related topics
- Access control — MeshTrafficPermission from[] versus SPIFFE rules[], MeshOPA, and the Kong Mesh RBAC changes in 3.0 — what kuma-migrator converts and what stays manual.