Skip to content

backport the full consent model to MCPServerRegistration once Kuadrant#1139 lands #10

Description

@Aman-Cool

The A2A controller implements the complete ReferenceGrant consent model: grant check before lookup, a ReferenceGrant watch (target-namespace index) so granting/revoking reconciles immediately, and config withdrawal on revocation. Kuadrant#1139 adds the grant check to MCPServerRegistration but (as of its current revision) has neither the watch nor the withdrawal — meaning a revoked grant changes nothing until an unrelated event, and even then the server keeps serving. Once Kuadrant#1139 merges upstream, the watch + withdrawal should be backported so both registrations enforce consent identically ; the A2A implementation is the reference (grant matcher, index, watch wiring, revocation test). Related: MCPServerRegistration carries a TODO about targetRef mutability that A2A resolved by making the field immutable — same conversation, but a breaking change for an existing CRD...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions