[GH-ISSUE #243] GetUserPermissions only checks the root path "/" #54

Open
opened 2026-02-28 00:40:22 +03:00 by kerem · 0 comments
Owner

Originally created by @shortmann on GitHub (Mar 9, 2023).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/243

Hi,
the function GetUserPermissions only checks the root path "/". Why?

We have a bigger Proxmox-Cluster and try to deploy vm's via the terraform provider.
The terraform provider first checks the users permissions and if the user has permissions limited to a pool then you are not able to use the provider, because the GetUserPermissions function returns an empty slice if the path is not "/".

Are you planning to change this?

Thanks

Originally created by @shortmann on GitHub (Mar 9, 2023). Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/243 Hi, the function GetUserPermissions only checks the root path "/". Why? We have a bigger Proxmox-Cluster and try to deploy vm's via the terraform provider. The terraform provider first checks the users permissions and if the user has permissions limited to a pool then you are not able to use the provider, because the GetUserPermissions function returns an empty slice if the path is not "/". Are you planning to change this? Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#54
No description provided.