]> git.proxmox.com Git - pve-access-control.git/commitdiff
changed 'pveum aclmod' command line arguments
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 14 Feb 2012 11:08:36 +0000 (12:08 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 14 Feb 2012 11:08:36 +0000 (12:08 +0100)
We cant use multiple arguments with '-list' types. JSONSchema::get_options is unable to handle that.

Makefile
changelog.Debian
pveum

index 7fae63212208db041a6d776c61ce282d3bf03d65..4ecfe23afed9b3bb73b9395cc1602976a696c057 100644 (file)
--- 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
index 47ce771948e26bf73b2e1b4adffcda0eaf93c603..dbd6a3095f839e962f32a668da218b1134f637d0 100644 (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)
diff --git a/pveum b/pveum
index 2c468d05cc68f1aa31630739bfbc9dd065aa7761..87a1c059287cc5490278cd585dab547424725841 100755 (executable)
--- 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;