[BUG]: Topic missing publisher role in GCP deployment
onlywicked opened this issue · comments
Hi @onlywicked, thanks for the report. Did you actually call Publish
on the topic somewhere? Encore only adds the permission when you actually publish messages.
@eandre Yep, I did.
Because and that's how I came to know about it.
I was getting the following error:
failed to publish message to {topic_name}: rpc error: code = PermissionDenied desc = User not authorized to perform this action.
After that I went into project and found that the permission wasn't there.
Hmm, that's very strange, that shouldn't happen. Can you share which Encore application and which deploy id that triggered this? I'll have a look at the infrastructure planning.
Sure. Sent it to you on slack.
This has been fixed with the latest release, thank you!