setting "allUser" with Publisher role on a Pub/Sub topic is not possible anymore ?

457 views
Skip to first unread message

Jean-Baptiste Claramonte

unread,
Oct 17, 2018, 6:15:22 PM10/17/18
to Google Cloud Pub/Sub Discussions
Hello

Using the Web Console, I'm trying to set the permission "Pub/Sub Publisher" to member "allUser" (I've used this feature last september) but currently it doesn't seem to be possible anymore : the web console displays the following error :

"Members of type allUsers and allAuthenticatedUsers cannot be added to this resource"

I've been able to set allUser with gcloud CLI but I have the following error when publish to the topic which is making me think that it's actually blocked : 

Cannot push to projects/*****/topics/***** { Error: 7 PERMISSION_DENIED: User not authorized to perform this action.

So it seems that setting allUser to a topic is not possible (anymore) can you confirm this or am I missing something ?

thx

Jinjun (Cloud Platform Support)

unread,
Oct 17, 2018, 9:55:17 PM10/17/18
to Google Cloud Pub/Sub Discussions
Tested in UI, when I put allUsers I saw the same error message in red. It can be confirmed that allUsers can no longer be added as a member on topics.

Jean-Baptiste Claramonte

unread,
Oct 18, 2018, 10:12:28 AM10/18/18
to Google Cloud Pub/Sub Discussions
thanks for your answer.
So it's no longer allowed on the web console but gcloud CLI is allowing it which is disturbing (even if in the end, the publish action is actually forbidden and this is even more disturbing)

Jun (Cloud Platform Support)

unread,
Oct 18, 2018, 7:19:29 PM10/18/18
to Google Cloud Pub/Sub Discussions
Hi Jean,

As Jinjun confirmed, the allUsers can no longer be added as a member on topics. However, you can request to have this feature back by filing a feature request per instructions at Report Bugs and Request Features with Issue Trackers providing your use case/scenario, or you can report the disturbing behavior as an issue that CLI looks like allowing the feature but it actually does not. 
Reply all
Reply to author
Forward
0 new messages