Skip to content

Commit

Permalink
Bug/user bucket inline policy (1126) (#145)
Browse files Browse the repository at this point in the history
* expand inline folder policy to support reading/writing

* Update members.py

---------

Co-authored-by: bsatoriu <[email protected]>
  • Loading branch information
bsatoriu and bsatoriu authored Oct 23, 2024
1 parent 630ca0a commit 7133bba
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/endpoints/members.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,16 @@ def get(self):
"s3:ListMultipartUploadParts",
"s3:AbortMultipartUpload"
],
"Resource": [
"arn:aws:s3:::{settings.WORKSPACE_BUCKET}/{maap_user.username}/*"
]
}},
{{
"Sid": "GrantListAccess",
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": "arn:aws:s3:::{settings.WORKSPACE_BUCKET}",
"Condition": {{
"StringLike": {{
Expand Down

0 comments on commit 7133bba

Please sign in to comment.