Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide per-user bucket access control permissions #2367

Open
pnasrat opened this issue Mar 16, 2023 · 3 comments
Open

Provide per-user bucket access control permissions #2367

pnasrat opened this issue Mar 16, 2023 · 3 comments

Comments

@pnasrat
Copy link
Contributor

pnasrat commented Mar 16, 2023

Context

via https://2i2c.freshdesk.com/a/tickets/553

Communityhreporter ser can delete data from ‘my’ part of the persistent bucket. I put a zarr store to leap-persistent/jbusecke/testing/another_store.zarr and asked another user to delete it with:

import gcsfs
fs = gcsfs.GCSFileSystem()
fs.rm('leap-persistent/jbusecke/testing/another_store.zarr', recursive=True)

Proposal

I'm not clear if the processes in the singleuser server are setup with the end users Google credentials (I doubt it as I didn't have to grant)

For me as [email protected] using fs = gcsfs.GCSFileSystem(token='browser') fails.

May need to investigate IAM Conditions https://cloud.google.com/iam/docs/conditions-overview

References

https://cloud.google.com/storage/docs/access-control
https://cloud.google.com/storage/docs/access-control/iam
https://cloud.google.com/storage/docs/access-control/iam-gsutil

Updates and actions

No response

@pnasrat
Copy link
Contributor Author

pnasrat commented Mar 16, 2023

@damianavila damianavila moved this to Todo 👍 in Sprint Board Mar 17, 2023
@pnasrat
Copy link
Contributor Author

pnasrat commented Mar 23, 2023

Possible #2406 might address the R/W perms enough for this support ticket - cc @yuvipanda for comment

@yuvipanda
Copy link
Member

@pnasrat i don't think it will, unfortunately - as that's still bucket level.

pangeo-data/pangeo-cloud-federation#610 has historical context and origins of the scratch bucket, and security tradeoffs were discussed as well.

@yuvipanda yuvipanda changed the title [LEAP] Support investigate security issue with GCS bucket config Provide per-user bucket access control permissions Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Needs Shaping / Refinement
Development

No branches or pull requests

2 participants