Skip to content

feat: add role management commands#107

Merged
Davidonium merged 5 commits intomainfrom
feat/dhernando/role-management
Apr 10, 2026
Merged

feat: add role management commands#107
Davidonium merged 5 commits intomainfrom
feat/dhernando/role-management

Conversation

@Davidonium
Copy link
Copy Markdown
Collaborator

@Davidonium Davidonium commented Apr 7, 2026

Adds role and permission management under qcloud iam, enabling full CRUD for custom roles and permission discovery from the CLI. Roles control access to Qdrant Cloud resources and can be either system-managed (immutable) or custom (user-managed).

Commands

  • qcloud iam role list -- List all roles in the account
  • qcloud iam role describe -- Show details of a specific role, including its permissions
  • qcloud iam role create -- Create a new custom role
  • qcloud iam role update -- Update an existing custom role's name or description
  • qcloud iam role delete -- Delete a custom role
  • qcloud iam role assign-permission -- Assign a permission to a role
  • qcloud iam role remove-permission -- Remove a permission from a role
  • qcloud iam permission list -- List all available permissions

Additional changes

  • Shell completion for role and permission IDs

)

// RoleIDCompletion returns a ValidArgsFunction that completes role IDs.
func RoleIDCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is repeated with #102.

I will handle the conflicts in this branch.

@Davidonium Davidonium requested a review from a team April 8, 2026 07:59
@Davidonium Davidonium merged commit 28d3b38 into main Apr 10, 2026
7 checks passed
@Davidonium Davidonium deleted the feat/dhernando/role-management branch April 10, 2026 10:46
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