[pve-devel] applied: [RFC/PATCH storage] api: disk list: allow if an audit permission for the node is present

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Mar 11 14:16:44 CET 2021


On 10.03.21 10:26, Fabian Ebner wrote:
> as that seems to be the more natural permission path for listing a nodes local
> disks. For backwards compatibility, the old permission check has to be kept
> (relevant with propagate=0).
> 
> This API call was originally part of the Ceph API and got copied here later,
> which might explain the current permission check.
> 
> In the UI, the Disk panel is visible with a node audit permission, but the API
> call itself failed without the '/' audit permission.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>  PVE/API2/Disks.pm | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list