mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #518] [MERGED] migrate: move testUserPermissions to list userpermissions in the new cli #520
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#520
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/518
Author: @NemoDacremont
Created: 11/11/2025
Status: ✅ Merged
Merged: 11/12/2025
Merged by: @Tinyblargon
Base:
master← Head:migrate/list-userpermissions📝 Commits (1)
913732dmigrate: move testUserPermissions to list userpermissions in the new cli📊 Changes
1 file changed (+32 additions, -0 deletions)
View changed files
➕
cli/command/list/list-userpermissions.go(+32 -0)📄 Description
This patch moves the command
testUserPermissionsfrom the legacy CLI tolist userpermissions. I feel like the name could be better, but I also feel like it doesn't really matter so much right now.Unlike in the legacy CLI,
list userpermissionswill output the array of string in json instead of using go output format for a list, I feel like it's more useful. Both arguments USER and PATH are required, I don't feel like making them optional is really useful.fixes #517
Testing
The command can be tested by running :
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.