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:
parent
7e4e69a6d2
commit
4fc5242406
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.1
|
||||
|
||||
VERSION=2.0
|
||||
PACKAGE=qemu-server
|
||||
PKGREL=41
|
||||
PKGREL=42
|
||||
|
||||
DESTDIR=
|
||||
PREFIX=/usr
|
||||
|
@ -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'])
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user