api: clarify that password changes for PAM realm only apply to local node

Reported in the community forum:
https://forum.proxmox.com/threads/158518/

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fiona Ebner 2024-12-04 12:37:06 +01:00 committed by Thomas Lamprecht
parent b10fef56c9
commit e0e7fc67ae

View File

@ -326,7 +326,8 @@ __PACKAGE__->register_method ({
description => "Each user is allowed to change his own password. A user can change the" description => "Each user is allowed to change his own password. A user can change the"
." password of another user if he has 'Realm.AllocateUser' (on the realm of user" ." password of another user if he has 'Realm.AllocateUser' (on the realm of user"
." <userid>) and 'User.Modify' permission on /access/groups/<group> on a group where" ." <userid>) and 'User.Modify' permission on /access/groups/<group> on a group where"
." user <userid> is member of.", ." user <userid> is member of. For the PAM realm, a password change does not take "
." effect cluster-wide, but only applies to the local node.",
check => [ 'or', check => [ 'or',
['userid-param', 'self'], ['userid-param', 'self'],
[ 'and', [ 'and',