gRPC data: origin-side revocation of a projected node reads as retryable (BadResourceUnavailable) #939

Open
opened 2026-11-28 11:37:40 -05:00 by dohertj2 · 0 comments
Owner

Follow-up to #922. When the origin stops granting Read/HistoryRead, the on-demand lease renewal fails and the consumer keeps answering BadResourceUnavailable instead of BadUserAccessDenied, because the renewal returns only a bool. Carry the origin's refusal kind through the renewal so a definitive PERMISSION_DENIED maps to BadUserAccessDenied (and is cached as such) while transport failures stay retryable.

Follow-up to #922. When the origin stops granting Read/HistoryRead, the on-demand lease renewal fails and the consumer keeps answering BadResourceUnavailable instead of BadUserAccessDenied, because the renewal returns only a bool. Carry the origin's refusal kind through the renewal so a definitive PERMISSION_DENIED maps to BadUserAccessDenied (and is cached as such) while transport failures stay retryable.
dohertj2 added the type:bugpriority:p2 labels 2026-11-28 11:37:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#939