Skip to content

feat(client): add user and workspace user group clients - #96

Open
cschroer wants to merge 1 commit into
meshcloud:mainfrom
cschroer:feat/workspace-user-group
Open

cschroer wants to merge 1 commit into
meshcloud:mainfrom
cschroer:feat/workspace-user-group

Conversation

@cschroer

@cschroer cschroer commented Nov 18, 2026 •

Copy link
Copy Markdown

MeshWorkspaceUserGroupClient covers create, read, update, delete and list of meshWorkspaceUserGroup v1, addressed by workspace.group. MeshUserClient reads a meshUser v2 by username and lists users by uuid, username, email, euid, workspace, workspace role or project. Both are new fields of client.Client, so the Terraform provider's mocks keep compiling.

The workspaceUserGroupIdentifier filter of the user listing is left out: the API docs do not say whether it takes the group name or workspace.group.

The Terraform provider needs these clients for its user group resources. This PR adds no CLI commands; meshstack api already reaches both endpoints.

🤖 Generated with Claude Code

Comment thread cmd/user/list.go Resolved
@cschroer
cschroer force-pushed the feat/workspace-user-group branch from c446d26 to 26f8676 Compare November 20, 2026 08:07
@cschroer cschroer changed the title feat(client): add user and workspace user group clients, with list co… feat(client): add user and workspace user group clients Nov 20, 2026
@cschroer
cschroer force-pushed the feat/workspace-user-group branch from 26f8676 to f4632f0 Compare November 20, 2026 08:13
@cschroer
cschroer requested a review from grubmeshi November 20, 2026 08:19

@grubmeshi grubmeshi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM now!

MeshWorkspaceUserGroupClient covers create, read, update, delete and list
of meshWorkspaceUserGroup v1, addressed by workspace.group. MeshUserClient
reads a meshUser v2 by username and lists users by uuid, username, email,
euid, workspace, workspace role or project. Both are new fields of
client.Client, so the Terraform provider's mocks keep compiling.

The workspaceUserGroupIdentifier filter of the user listing is left out:
the API docs do not say whether it takes the group name or workspace.group.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cschroer
cschroer force-pushed the feat/workspace-user-group branch from f4632f0 to 21da538 Compare November 20, 2026 11:21
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