]> git.proxmox.com Git - pve-access-control.git/commitdiff
fix return value for empty ACL list
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 10 Feb 2012 10:25:23 +0000 (11:25 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 10 Feb 2012 10:25:23 +0000 (11:25 +0100)
Makefile
PVE/API2/ACL.pm
changelog.Debian

index bf294ca42c1f17b8f865ce0c5364dd256625cafc..fbe521e56702a8efe15ccb46609a00bde025fa30 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=2.0
 
 VERSION=1.0
 PACKAGE=libpve-access-control
-PKGREL=7
+PKGREL=8
 
 DESTDIR=
 PREFIX=/usr
index c2d5665341cc6b3bbb51e96024cad537acf1ee1a..45be4ec795cd917ebebfe43d49df8e170cd639fe 100644 (file)
@@ -51,7 +51,7 @@ __PACKAGE__->register_method ({
 
        my $usercfg = $rpcenv->{user_cfg};
        if (!$usercfg || !$usercfg->{acl}) {
-           return {};
+           return $res;
        }
 
        my $audit = $rpcenv->check($authuser, '/access', ['Sys.Audit'], 1);
index 54bb9b833392e431b63f74f6fcde6d8fb5b48b76..082c378d8ca670c80f06b1012e4294ca7a62241a 100644 (file)
@@ -1,3 +1,9 @@
+libpve-access-control (1.0-8) unstable; urgency=low
+
+  * fix return value for empty ACL list.
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 10 Feb 2012 11:25:04 +0100
+
 libpve-access-control (1.0-7) unstable; urgency=low
 
   * fix bug #85: allow root@pam to generate tickets for other users