Skip to content

Update Pub/Sub IAM#569

Merged
quartzmo merged 1 commit intogoogleapis:masterfrom
blowmage:pubsub-iam-fix
Mar 1, 2016
Merged

Update Pub/Sub IAM#569
quartzmo merged 1 commit intogoogleapis:masterfrom
blowmage:pubsub-iam-fix

Conversation

@blowmage
Copy link
Copy Markdown
Contributor

@blowmage blowmage commented Mar 1, 2016

The build is failing due to a permissions change in getting and setting the IAM policy. This change adds some additional checks to the tests to ensure that the account has permissions to access and update the policy.

Correct the permissions values used in the code examples to use the correct permissions, and list the permissions values that can be checked on test_permissions documentation.

@blowmage blowmage added the api: pubsub Issues related to the Pub/Sub API. label Mar 1, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 1, 2016
Change permissions values in code examples to use correct values.
List permissions values that can be checked on test_permissions docs.
Add additional checks on acceptance tests to ensure the account has
proper permissions to update the IAM policy.
By default, a service account will not have owner permissions, so
one must change the service account to an owner to get passing tests.

https://cloud.google.com/pubsub/access_control#tbl_perm
@quartzmo
Copy link
Copy Markdown
Member

quartzmo commented Mar 1, 2016

Looks like everything has been straightened out! Great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants