fix return value for empty ACL list

This commit is contained in:
Dietmar Maurer 2012-02-10 11:25:23 +01:00
parent 59321f2682
commit 4384e19e9b
3 changed files with 8 additions and 2 deletions

View File

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

View 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);

View 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