feat: object ACL controls, archived-object restore, and IAM teams#116
Merged
Conversation
…am to ^2.2.0 Brings in object ACL/directory-listing options on createBucket, restoreObject/getRestoreInfo, and team management APIs, which the following commits surface in the CLI. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- mk / buckets create: add --allow-object-acl and --enable-directory-listing, wired into createBucket - cp: add --access (public|private) for local-to-remote uploads; rejected for other directions where it cannot apply, with a pointer to objects set-access Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- objects restore: request restoration of an archived object (e.g. GLACIER) for N days via restoreObject - objects restore-info: report an object's restore state (archived, in-progress, restored) via getRestoreInfo Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add `iam teams list/create/edit`, mirroring `iam users`: - list: show teams (member count in table, full members in JSON) - create: create a team with optional description and member emails - edit: update name/description/members (members replaced with the list) Gated to OAuth + non-Fly orgs like the rest of iam user management. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- bucket ACL/listing: mk + buckets create with --allow-object-acl (verified via buckets get) and --enable-directory-listing - cp --access: upload sets access; rejected for non-upload directions and invalid values - objects restore/restore-info: restore-info on a non-archived object, --days validation, missing-key error - iam teams: create/list/edit (OAuth-gated) plus an always-on edit validation check Also stop `iam teams create --format json` from printing a trailing Team ID line that polluted the JSON output. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
himank
approved these changes
Jun 25, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0386fe6. Configure here.
A valueless `--members` flag arrives as boolean `true` and an empty `--members ""` as "", so the previous wrapping could send `[true]` to the API or silently drop the flag (and misfire the "at least one field" check). Add parseMembers to normalize the flag into a clean email list, erroring when it is present without a usable value. Also coerce a bare --name / --description so they can't forward a non-string. Covered by new validation tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
🎉 This PR is included in version 3.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Surfaces the new
@tigrisdata/storage@3.16.0and@tigrisdata/iam@2.2.0capabilities in the CLI. One commit per area.Changes
@tigrisdata/storageto^3.16.0and@tigrisdata/iamto^2.2.0.--allow-object-acland--enable-directory-listingon bothmkandbuckets create, wired intocreateBucket.cpgains--access public|privatefor local→remote uploads (objects putalready had it). Rejected for remote→remote / remote→local, with a pointer toobjects set-access.objects restore(restoreObject,--days) andobjects restore-info(getRestoreInfo; reports archived / in-progress / restored).iam teams list/create/edit(listTeams/createTeam/editTeam), mirroringiam usersand gated to OAuth + non-Fly orgs.Notes
--membersaccepts email addresses (comma-separated), matching the--email/--roleconvention iniam users.🤖 Generated with Claude Code
Note
Medium Risk
IAM team edits replace the full member list when
--membersis set, and new bucket/object settings change org access patterns; behavior is mostly additive with validation guards.Overview
Bumps
@tigrisdata/storageto^3.16.0and@tigrisdata/iamto^2.2.0, then exposes the new SDK behavior in the CLI and docs (README.md,src/specs.yaml).Bucket creation on
mkandbuckets createadds--allow-object-acland--enable-directory-listing, passed through tocreateBucket.Uploads:
cpaccepts--access public|privatefor local→remote uploads only (wired intoput); invalid values and use on non-upload copies are rejected with guidance to useobjects set-access.Archived objects: new
objects restore(restoreObject, optional--days,--version-id) andobjects restore-info(getRestoreInfo; empty/null when the object is not archived).IAM:
iam teams list/create/editcall the IAM SDK, gated like other org IAM (OAuth, non-Fly), withparseMembersvalidating--membersemails;editrequires at least one of name, description, or members.Integration tests cover the new flags,
cp --access, restore validation, and team CLI validation.Reviewed by Cursor Bugbot for commit 71437f8. Bugbot is set up for automated code reviews on this repo. Configure here.