mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-07-27 10:47:57 +00:00
fix return value for empty ACL list
This commit is contained in:
parent
59321f2682
commit
4384e19e9b
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.0
|
|||||||
|
|
||||||
VERSION=1.0
|
VERSION=1.0
|
||||||
PACKAGE=libpve-access-control
|
PACKAGE=libpve-access-control
|
||||||
PKGREL=7
|
PKGREL=8
|
||||||
|
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
|
@ -51,7 +51,7 @@ __PACKAGE__->register_method ({
|
|||||||
|
|
||||||
my $usercfg = $rpcenv->{user_cfg};
|
my $usercfg = $rpcenv->{user_cfg};
|
||||||
if (!$usercfg || !$usercfg->{acl}) {
|
if (!$usercfg || !$usercfg->{acl}) {
|
||||||
return {};
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $audit = $rpcenv->check($authuser, '/access', ['Sys.Audit'], 1);
|
my $audit = $rpcenv->check($authuser, '/access', ['Sys.Audit'], 1);
|
||||||
|
@ -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
|
libpve-access-control (1.0-7) unstable; urgency=low
|
||||||
|
|
||||||
* fix bug #85: allow root@pam to generate tickets for other users
|
* fix bug #85: allow root@pam to generate tickets for other users
|
||||||
|
Loading…
Reference in New Issue
Block a user