Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google PUBSUB API: When a binding is made through IAM (for a specific resource), will same member ge

The is in reference to code at official page, where we want to give access to a user for a specific PUBSUB subscription: https://cloud.google.com/pubsub/docs/access-control#setting_a_policy

In the above code:

  • Role roles/pubsub.editor is binded to member allUsers for specific resource like 'pubsub.your-subscription-id'; the resource policy is updated in same terms.
  • As far as I know 'roles/pubsub.editor' role has all access to PUBSUB subscriptions and policies.

Q)After executing the above code, can we conclude that allUsers get all accesses that role roles/pubsub.editor has? Or is this binding only specific to this resource's policy? As I am a newbie here, please help if my understandings are wrong here.

Solved Solved
0 1 130
1 ACCEPTED SOLUTION

1 REPLY 1