Skip to content

22 bucket access for users other than admin - #23

Merged
sinhaparth5 merged 2 commits into
masterfrom
22-bucket-access-for-users-other-than-admin
Aug 20, 2026
Merged

22 bucket access for users other than admin#23
sinhaparth5 merged 2 commits into
masterfrom
22-bucket-access-for-users-other-than-admin

Conversation

@sinhaparth5

Copy link
Copy Markdown
Owner

No description provided.

A role is instance-wide, so an operator who may write to one bucket may write
to every bucket. Each account now also carries which buckets it may touch —
write, read, or none — as one fallback plus exceptions, so "these buckets only"
and "everything except this one" are the same mechanism.

Grants narrow a role and never widen it: a readonly account granted write
access to a bucket still only reads it. An administrator is never narrowed,
because they could rewrite their own grants anyway and a lockout there is
unrepairable. S3 keys are held to their owner's grants, read fresh per request.

Requests naming no bucket — ListBuckets, the console's bucket and allocation
lists — are filtered rather than refused. Bucket-scoped console routes use
guardBucket(), which hands the handler the name so it cannot read one and
forget to check it.

The field is appended to the user record, so no format version moved and an
account written before this reads back unrestricted.
@sinhaparth5 sinhaparth5 linked an issue Aug 20, 2026 that may be closed by this pull request
@sinhaparth5
sinhaparth5 merged commit 53ed57e into master Aug 20, 2026
3 checks passed
@sinhaparth5
sinhaparth5 deleted the 22-bucket-access-for-users-other-than-admin branch August 20, 2026 15:14
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

Successfully merging this pull request may close these issues.

Bucket access for users other than admin

1 participant