Skip to content

Commit

Permalink
fix: Do not check for pubsub.topics.get on initialization
Browse files Browse the repository at this point in the history
This permission is not strictly needed and is not included in the pubsub.publisher
role.

Signed-off-by: James Alseth <james@jalseth.me>
  • Loading branch information
jalseth committed Nov 26, 2023
1 parent 0394bf7 commit 9542c96
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/pubsub/gcp/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ var (
// Minimal set of permissions needed to check if the server can publish to the configured topic.
// https://cloud.google.com/pubsub/docs/access-control#required_permissions
requiredIAMPermissions = []string{
"pubsub.topics.get",
"pubsub.topics.publish",
}
)
Expand Down

0 comments on commit 9542c96

Please sign in to comment.