Skip to content

Add pscale org member commands - #1355

Merged
no-itsbackpack merged 5 commits into
mainfrom
feat/org-members
Aug 19, 2026
Merged

Add pscale org member commands#1355
no-itsbackpack merged 5 commits into
mainfrom
feat/org-members

Conversation

@no-itsbackpack

@no-itsbackpack no-itsbackpack commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Adds organization member management:

pscale org member list --org myorg
pscale org member show user_xxx --org myorg
pscale org member update user_xxx --role member --org myorg
pscale org member remove user_xxx --org myorg

Co-authored-by: Cursor <cursoragent@cursor.com>
@no-itsbackpack
no-itsbackpack requested a review from a team as a code owner August 19, 2026 17:33
Comment thread internal/cmd/org/member_list.go Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium. Left a non-blocking comment; no reviewers assigned. Cursor Bugbot reported two unresolved findings (member list pagination and permission-error masking), so this PR needs human review.

Open in Web View Automation 

Sent by Cursor Approval Agent: cli-reviewer

@planetscale planetscale deleted a comment from cursor Bot Aug 19, 2026
no-itsbackpack and others added 2 commits August 19, 2026 13:29
Large organizations were silently truncated to the first 100 members, and
permission failures were rewritten as "only admins can do this" even when the
API rejected the request for a different reason.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit fb47720. Configure here.

Comment thread internal/cmd/org/member_list.go
An empty --page past the last results was printing "No members in <org>",
which matches a truly empty org. Other list commands already split those cases.

Co-authored-by: Cursor <cursoragent@cursor.com>
show, update, and remove already resolved members by email, but usage still
said <user-id>, which implied you needed the public id from list.

Co-authored-by: Cursor <cursoragent@cursor.com>
@no-itsbackpack
no-itsbackpack merged commit 9551e2a into main Aug 19, 2026
4 checks passed
@no-itsbackpack
no-itsbackpack deleted the feat/org-members branch August 19, 2026 19:49
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.

2 participants