changed 'pveum aclmod' command line arguments

We cant use multiple arguments with '-list' types. JSONSchema::get_options is unable to handle that.
This commit is contained in:
Dietmar Maurer 2012-02-14 12:08:36 +01:00
parent 9b2172261e
commit 7a4c849ea3
3 changed files with 11 additions and 3 deletions

View File

@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=1.0
PACKAGE=libpve-access-control
PKGREL=9
PKGREL=10
DESTDIR=
PREFIX=/usr

View File

@ -1,3 +1,11 @@
libpve-access-control (1.0-10) unstable; urgency=low
* fix ACL group name parser
* changed 'pveum aclmod' command line arguments
-- Proxmox Support Team <support@proxmox.com> Tue, 14 Feb 2012 12:08:02 +0100
libpve-access-control (1.0-9) unstable; urgency=low
* fix bug in check_volume_access (fixes vzrestore)

4
pveum
View File

@ -72,8 +72,8 @@ my $cmddef = {
rolemod => [ 'PVE::API2::Role', 'update_role', ['roleid'] ],
roledel => [ 'PVE::API2::Role', 'delete_role', ['roleid'] ],
aclmod => [ 'PVE::API2::ACL', 'update_acl', ['path', 'roles'], { delete => 0 }],
acldel => [ 'PVE::API2::ACL', 'update_acl', ['path', 'roles'], { delete => 1 }],
aclmod => [ 'PVE::API2::ACL', 'update_acl', ['path'], { delete => 0 }],
acldel => [ 'PVE::API2::ACL', 'update_acl', ['path'], { delete => 1 }],
};
my $cmd = shift;