You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
PubSub.listSubscriptions(topic) returns only names, not full subscriptions #978
The topic owner/viewer may not have access to the subscription details; but they can see the name of the subscriptions and delete those subscriptions.
If we are using Subscription objects, as long as you don't need to fetch the details in order to instantiate it, meaning that you can instantiate a subscription object by just using the name, it should be fine to return the subscription object.
It is important to keep in mind that these subscriptions may belong to a different project.
Activity
aozarov commentedon May 3, 2016
/cc @eschapira Any reason for only returning the subscription names when one wants to get the list of subscriptions for a given topic?
eschapira commentedon May 4, 2016
The topic owner/viewer may not have access to the subscription details; but they can see the name of the subscriptions and delete those subscriptions.
If we are using Subscription objects, as long as you don't need to fetch the details in order to instantiate it, meaning that you can instantiate a subscription object by just using the name, it should be fine to return the subscription object.
It is important to keep in mind that these subscriptions may belong to a different project.
mziccard commentedon Jul 22, 2016
This was taken care of in #984
chore: add native image checks as required (#978)
chore(main): release 4.8.0 (#978)
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
chore(deps): update dependency com.google.cloud:google-cloud-video-in…
chore(main): release 3.7.0 (#978)
deps: update dependency io.grpc:grpc-bom to v1.50.0 (#978)
chore(deps): update dependency com.google.cloud:google-cloud-logging-…
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
chore: pin versions of dependencies for compatibility with Python 3.6 (…
chore(main): release 0.124.14 (#978)
chore(main): release 0.124.14 (#978)
samples: add subscription with filter example (#978)
samples: add subscription with filter example (#978)
chore: re-generated to pick up changes from synthtool (googleapis#978)