From ef93b299eb6903ed1126ba48ea9b3af757d3efa4 Mon Sep 17 00:00:00 2001 From: Fiona Ebner Date: Wed, 4 Dec 2024 12:37:07 +0100 Subject: [PATCH] api: password: use singular they pronoun Signed-off-by: Fiona Ebner --- src/PVE/API2/AccessControl.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PVE/API2/AccessControl.pm b/src/PVE/API2/AccessControl.pm index bb7b78f..c4c0699 100644 --- a/src/PVE/API2/AccessControl.pm +++ b/src/PVE/API2/AccessControl.pm @@ -323,8 +323,8 @@ __PACKAGE__->register_method ({ path => 'password', method => 'PUT', permissions => { - 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" + description => "Each user is allowed to change their own password. A user can change the" + ." password of another user if they have 'Realm.AllocateUser' (on the realm of user" ." ) and 'User.Modify' permission on /access/groups/ on a group where" ." user is member of. For the PAM realm, a password change does not take " ." effect cluster-wide, but only applies to the local node.", @@ -371,7 +371,7 @@ __PACKAGE__->register_method ({ } else { if ($authuser eq $userid) { $rpcenv->check_user_enabled($userid); - # OK - each user can change its own password + # OK - each user can change their own password } else { # only root may change root password raise_perm_exc() if $userid eq 'root@pam';