Skip to content

Commit

Permalink
fix: Do not check for pubsub.topics.get on initialization (#1853)
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 Dec 3, 2023
1 parent 1ffdfd8 commit 9e37c19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/pubsub/gcp/publisher.go
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 9e37c19

Please sign in to comment.