Repository navigation
storage: iam support - #2060
storage: iam support#2060
Conversation
|
@jmuk -- blocked for now, as I'm waiting to be whitelisted. |
|
@danoscarmike Can you reach out to the GCS team and ask them to whitelist Stephen? |
|
Requested, standby... |
1fa9410 to
016a834
Compare
|
@danoscarmike any updates? |
016a834 to
93439ce
Compare
|
I seem to have been whitelisted-- I haven't checked for the CI account yet. I had an issue with setting a policy: Request Body {
"resourceId": "buckets/gcloud-test-86d6a2e0-130f-11e7-aa15-43bde3d9a94b",
"bindings": [
{
"role": "roles/storage.objectViewer",
"members": [
"allUsers"
]
}
]
} This returns: |
|
@stephenplusplus You need a |
|
Thanks! I don't see a Using the Pub/Sub IAM endpoint as a reference, the etag isn't required. I'm struggling to get one through to the API as well, but I'm working on that. Is one of / are both |
|
@stephenplusplus looks like Cloud Storage implements a non-standard version of IAM (this is basically because it's an old API into which IAM was backported, all new APIs will share a common implementation which includes version, which is soley for user use, and the API doesn't care about, the new APIs should probably share an IAM implementatoin, as most new APIs will be launching with IAM support.) As for that particular request I'm not sure why it failed now. I would make sure you have permissions to grant all users access, and maybe try a different role/member set combo. |
|
@stephenplusplus What do you need from me to unblock you? We would like to get this done this week. |
|
It would save a lot of guess work if someone knew what a request body would look like that will not return the Invalid error. |
|
@bjwatson @anthmgoogle Is there someone I can tag in to find out about this? |
|
@stephenplusplus @callmehiphop You should be whitelisted now. Can you try again? |
|
System tests pass now, just needs unit tests. |
93439ce to
1307734
Compare
|
Unit tests done, ready for your review @callmehiphop! |
| assert(promisified); | ||
| }); | ||
|
|
||
| it('should localize the request function', function(done) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Fixes #2057
To Dos
This adds IAM support to Buckets and Objects: