Skip to content

Commit 9e37c19

Browse files
authored
fix: Do not check for pubsub.topics.get on initialization (#1853)
This permission is not strictly needed and is not included in the pubsub.publisher role. Signed-off-by: James Alseth <[email protected]>
1 parent 1ffdfd8 commit 9e37c19

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/pubsub/gcp/publisher.go

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ var (
4545
// Minimal set of permissions needed to check if the server can publish to the configured topic.
4646
// https://cloud.google.com/pubsub/docs/access-control#required_permissions
4747
requiredIAMPermissions = []string{
48-
"pubsub.topics.get",
4948
"pubsub.topics.publish",
5049
}
5150
)

0 commit comments

Comments
 (0)