Policies · Kong Mesh

AccessRole

Kong Mesh RBAC role listing resource types and qualifiers a subject may access.

Kong Mesh

Behaviour per target

--to-latest v2 (2.x) warned

Output: AccessRole

Scanned in both environments (not on the default skip list). Advisories for 3.0:

  • rules[].types naming a removed type (legacy policies, MeshGateway*, …) is rejected with unknown types.
  • when[].targetRef.kind other than Mesh/Dataplane is rejected.
  • A when[] entry that only sets sources/destinations/selectors is rejected with qualifier cannot be empty.
--to-latest v3 (3.0) rewritten

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: MeshService is reported, not converted: the label set is not in the manifest.

Timeline

VersionChange
3.0Removed types and the sources/destinations/selectors qualifiers rejected; when[].targetRef limited to Mesh and Dataplane.

Source files