5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-11 05:17:57 +03:00

fix pool permission checks on create

We do not need Permission.Modify on the pool.
This commit is contained in:
Dietmar Maurer 2012-05-30 10:13:51 +02:00
parent 7e4e69a6d2
commit 4fc5242406
3 changed files with 7 additions and 2 deletions

View File

@ -2,7 +2,7 @@ RELEASE=2.1
VERSION=2.0
PACKAGE=qemu-server
PKGREL=41
PKGREL=42
DESTDIR=
PREFIX=/usr

View File

@ -269,7 +269,6 @@ __PACKAGE__->register_method({
if (defined($pool)) {
$rpcenv->check_pool_exist($pool);
$rpcenv->check_perm_modify($authuser, "/pool/$pool");
}
$rpcenv->check($authuser, "/storage/$storage", ['Datastore.AllocateSpace'])

View File

@ -1,3 +1,9 @@
qemu-server (2.0-42) unstable; urgency=low
* fix pool permission checks on create
-- Proxmox Support Team <support@proxmox.com> Wed, 30 May 2012 10:13:11 +0200
qemu-server (2.0-41) unstable; urgency=low
* more fixes for newer pve-storage versions