[pmg-devel] applied: [PATCH pmg-api 4/4] api: users: rework userid validation

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Feb 26 21:19:01 CET 2025


Am 26.02.25 um 20:17 schrieb Stoiko Ivanov:
> reuse the existing helpers in PMG::Utils to forbid creating:
> * users with an unallowed realm
> * passing a different realm than what we receive in the userid
> * users in the pam realm
> 
> Reported-by: Mira Limbeck <m.limbeck at proxmox.com>
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
>  src/PMG/API2/Users.pm | 16 ++++++++++++----
>  1 file changed, 12 insertions(+), 4 deletions(-)
> 
>

applied, thanks!




More information about the pmg-devel mailing list