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

Should buckets be nestable? #40

Open
evanstade opened this issue Sep 9, 2022 · 1 comment
Open

Should buckets be nestable? #40

evanstade opened this issue Sep 9, 2022 · 1 comment

Comments

@evanstade
Copy link
Collaborator

In alignment with the goal of enabling data organization by web developers ("Allow web applications to evict slices of data"), should buckets be nestable?

Hypothetical use case: an email client that allows multiuser sign-in, and organizes each user's data into multiple buckets, such as drafts and inbox. The drafts bucket would be a child bucket of the user-1234 bucket.

Behavior: deleting a parent bucket should delete child buckets. Unspecified bucket policies should default to parent bucket policy values.

@asutherland
Copy link
Collaborator

I think the answer here would depend on reaching a conclusion for the discussion in #36 about the minimum and maximum number of buckets we expect browsers to support. If we can only guarantee origins 10 buckets, there's little point in adding a concept of hierarchy and having to deal with the dependency graph that would result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants