pubsub: simple subscribers require permission pubsub.subscriptions.get since v1.10.2 #3947
Labels
api: pubsub
Issues related to the Pub/Sub API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Client
PubSub
Environment
roles/pubsub.subscriber
IAM membership for my subscriptionGo Environment
Code
Expected behavior
I can receive messages
Actual behavior
failed to receive: sub.Config err: rpc error: code = PermissionDenied desc = User not authorized to perform this action.
Additional context
Started after upgrading to v1.10.2.
Looks to be introduced by the Subscription.Config(context.Context) call in fix for #3884.
Subscription.Config() requires
pubsub.subscriptions.get
permission forThe text was updated successfully, but these errors were encountered: