public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] Empty list as response of an API-endpoint
@ 2023-01-04 15:10 Sven Scholle
  2023-01-05  8:37 ` Fabian Grünbichler
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Scholle @ 2023-01-04 15:10 UTC (permalink / raw)
  To: pve-devel

Hi,

I have a problem regarding the API rights management.

The following request returns an empty array when issued using a token 
with the role PVEAuditor:

'pve.foo.bar:8006/api2/json/nodes/{}/storage/{}/content?content=backup&vmid={}'.format(node, 
storage, vmid)

When I disable privilege seperation or use the role Administrator, I 
will receive the content in the storage mathing the filters above.
Those permissions do not seem to be sufficient: "Sys.Audit Sys.Syslog 
Pool.Audit VM.Audit Datastore.Audit"

Using the permissions above, I'd expect to be granted to use the 
API-call above. I also tried "VM.Backup", but that didn't do the trick.

Did I forget a permission or is there a bug?

Used Proxmox-VE-Version: 7.2-1

Thanks!
Regards
Sven



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-05  8:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-04 15:10 [pve-devel] Empty list as response of an API-endpoint Sven Scholle
2023-01-05  8:37 ` Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal