mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 14:15:49 +03:00
[GH-ISSUE #1257] Iam policy on bucket - not working #179
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#179
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tomaszmacnar on GitHub (Jul 19, 2023).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1257
I use fake-gcs-server in my integration tests.
I create bucket and after it i try to get IAm policy on it. After call (java):
and http return:
GET http://localhost:4443/storage/v1/b/XXX/iam?optionsRequestedPolicyVersion=3
Not Found
When i get bucket info it return OK:
GET http://localhost:4443/storage/v1/b/XXX
Is this mock not support iam ?
@fsouza commented on GitHub (Jul 29, 2023):
Correct, that's currently not supported. With bucket attributes (#1174), it should be possible though.
@vitalii-buchyn-exa commented on GitHub (Jun 25, 2024):
Hello community,
Having a similar issue, trying
IAM().Policy(ctx)on a fake bucket, but getting 404Just wonder if there is any workaround, except creating my own httptest server?
Thank you in advance.