]> git.proxmox.com Git - pve-ha-manager.git/commit
HA API: Fix permissions
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Oct 2015 09:55:44 +0000 (10:55 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 30 Oct 2015 10:08:26 +0000 (11:08 +0100)
commit0fcba7ab35dcf459e24e07cceef73b4f65d7f294
tree55b23a9f7772c71e72ff4d3a60fa5b34feb132a7
parent24e0977c54bb39452d5ee1627f0d487eddbc805e
HA API: Fix permissions

Integrate permission in the HA API so that not only root may do
changes.
-) create/edit/update actions need the 'Sys.Console' privileges on
   the root (/) path
-) read actions need the 'Sys.Audit' privilege on the root (/) path

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/HA/Groups.pm
src/PVE/API2/HA/Resources.pm
src/PVE/API2/HA/Status.pm