Skip to content

feat: enhance argilla user management commands#79

Merged
ivyleavedtoadflax merged 1 commit into
mainfrom
feat/enhance-argilla-user-management
Nov 4, 2025
Merged

feat: enhance argilla user management commands#79
ivyleavedtoadflax merged 1 commit into
mainfrom
feat/enhance-argilla-user-management

Conversation

@ivyleavedtoadflax
Copy link
Copy Markdown
Contributor

@ivyleavedtoadflax ivyleavedtoadflax commented Oct 31, 2025

Summary

Enhances list-users and add-user commands for better user management workflows.

Changes

list-users command:

  • Make --workspace optional (omit to list all users)
  • Display user roles alongside usernames
  • Add role summary statistics

add-user command:

  • Make --password optional (supports SSO users)
  • Update existing users' roles and workspaces instead of failing
  • Skip duplicate workspace memberships

Examples

# List all users with roles
uv run gsma argilla list-users

# Update existing user's role
uv run gsma argilla add-user -u huggingface_user -w workspace -r owner

# Create SSO user (no password)
uv run gsma argilla add-user -u huggingface_user -w mantis

Enhanced list-users command:
- Make --workspace flag optional to list all users when omitted
- Display user roles (owner/admin/annotator) alongside usernames
- Add role summary statistics
- Simplify output to show only username and role columns
- Support both global and workspace-specific user listing

Enhanced add-user command:
- Make --password optional for SSO users (e.g., Hugging Face login)
- Support updating existing users' roles
- Allow adding existing users to additional workspaces
- Prevent duplicate workspace memberships
- Provide clear warnings for password limitations

These improvements enable better user management workflows:
- Quickly view all users and their permission levels
- Update user roles without recreating accounts
- Support SSO authentication flows
- Maintain idempotent workspace assignments
@ivyleavedtoadflax ivyleavedtoadflax merged commit e4cbc1f into main Nov 4, 2025
1 check passed
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.

1 participant