Pool.Audit Role

Discussion in 'Proxmox VE: Installation and configuration' started by Bruno Meneguello, Apr 30, 2019.

  1. Bruno Meneguello

    Bruno Meneguello New Member

    Joined:
    Apr 26, 2019
    Messages:
    3
    Likes Received:
    0
    I'm trying to create a read-only user to gather information from my Proxmox server via API, but an important information missing are Pools.
    I'm giving to this user only PVEAudit Role, but "api2/json/pools" returns empty. I've checked the source code and noticed Pools are only returned when the user have Pool.Allocate or VM.Allocate. But I can't give these permissions to a read-only user.
    I think "api2/json/pools" should return when some "Audit" role is set or a new "Pool.Audit" role could be created.
     
  2. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Joined:
    Feb 1, 2016
    Messages:
    3,468
    Likes Received:
    316
    can you please open an enhancement request here: https://bugzilla.proxmox.com/
    sounds easy enough, but no promises when/if we implement this
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Bruno Meneguello likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice