From: Dietmar Maurer Date: Tue, 14 Feb 2012 11:08:36 +0000 (+0100) Subject: changed 'pveum aclmod' command line arguments X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=commitdiff_plain;h=7a4c849ea3b98098477e51e86dec902100769f7f changed 'pveum aclmod' command line arguments We cant use multiple arguments with '-list' types. JSONSchema::get_options is unable to handle that. --- diff --git a/Makefile b/Makefile index 7fae632..4ecfe23 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=2.0 VERSION=1.0 PACKAGE=libpve-access-control -PKGREL=9 +PKGREL=10 DESTDIR= PREFIX=/usr diff --git a/changelog.Debian b/changelog.Debian index 47ce771..dbd6a30 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -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 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) diff --git a/pveum b/pveum index 2c468d0..87a1c05 100755 --- a/pveum +++ b/pveum @@ -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;