mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-06-13 09:30:17 +00:00
allow users to change his own password
This commit is contained in:
parent
2de144076b
commit
1cf154b72f
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.0
|
||||
|
||||
VERSION=1.0
|
||||
PACKAGE=libpve-access-control
|
||||
PKGREL=17
|
||||
PKGREL=18
|
||||
|
||||
DESTDIR=
|
||||
PREFIX=/usr
|
||||
|
@ -428,7 +428,7 @@ sub exec_api2_perm_check {
|
||||
die "missing parameters" if !$subtest;
|
||||
if ($subtest eq 'self') {
|
||||
return 0 if !$self->check_user_exist($userid, $noerr);
|
||||
return 1 if $username eq 'userid';
|
||||
return 1 if $username eq $userid;
|
||||
return 0 if $noerr;
|
||||
raise_perm_exc();
|
||||
} elsif ($subtest eq 'Realm.AllocateUser') {
|
||||
|
@ -1,3 +1,9 @@
|
||||
libpve-access-control (1.0-18) unstable; urgency=low
|
||||
|
||||
* allow user to change his own password
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Wed, 11 Apr 2012 09:40:15 +0200
|
||||
|
||||
libpve-access-control (1.0-17) unstable; urgency=low
|
||||
|
||||
* set propagate flag by default
|
||||
|
Loading…
Reference in New Issue
Block a user