]> git.proxmox.com Git - pve-access-control.git/commitdiff
use full name for verify_user
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 15 Feb 2012 06:06:58 +0000 (07:06 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 15 Feb 2012 06:06:58 +0000 (07:06 +0100)
Makefile
PVE/RPCEnvironment.pm
changelog.Debian

index 4ecfe23afed9b3bb73b9395cc1602976a696c057..783ee043c02dc853aca489cca451842c9a927d2c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=2.0
 
 VERSION=1.0
 PACKAGE=libpve-access-control
 
 VERSION=1.0
 PACKAGE=libpve-access-control
-PKGREL=10
+PKGREL=11
 
 DESTDIR=
 PREFIX=/usr
 
 DESTDIR=
 PREFIX=/usr
index 77196de2f39f5d52be30b4b3f0b2354849dc4404..a4ea2ef7ec7432725a38c0d830dbdd64fbf07b00 100644 (file)
@@ -423,7 +423,7 @@ sub exec_api2_perm_check {
        }
        return 1;
     } elsif ($test eq 'userid-param') {
        }
        return 1;
     } elsif ($test eq 'userid-param') {
-       my ($userid, undef, $realm) = verify_username($param->{userid});
+       my ($userid, undef, $realm) = PVE::AccessControl::verify_username($param->{userid});
        return if !$self->check_user_exist($userid, $noerr);
        my ($t, $subtest) = @$check;
        die "missing parameters" if !$subtest;
        return if !$self->check_user_exist($userid, $noerr);
        my ($t, $subtest) = @$check;
        die "missing parameters" if !$subtest;
index dbd6a3095f839e962f32a668da218b1134f637d0..3789bb39cb3deb9c12094dd58f6c89a077f4273b 100644 (file)
@@ -1,3 +1,9 @@
+libpve-access-control (1.0-11) unstable; urgency=low
+
+  * fix bug in exec_api2_perm_check
+  
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 15 Feb 2012 07:06:30 +0100
+
 libpve-access-control (1.0-10) unstable; urgency=low
 
   * fix ACL group name parser
 libpve-access-control (1.0-10) unstable; urgency=low
 
   * fix ACL group name parser