• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Forwarded to devs Renaming an additional administrator is not reflected in the admin_alias_update event or Action Log: "Login Name" shows the old name as both old and n

Kaspar

API expert
Plesk Guru
TITLE
Renaming an additional administrator is not reflected in the admin_alias_update event or Action Log: "Login Name" shows the old name as both old and new value

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian 18.0.80.8
AlmaLinux 9.8

PROBLEM DESCRIPTION

When an additional administrator account is renamed, the admin_alias_update event carries the old username in both oldValues and newValues for "Login Name". The same wrong values are written to the Action Log. The new username only appears in the account's next event. As a result, neither the Action Log nor extension event listeners (EventListener::handleEvent()) can see that a rename happened, or what the new username is.

The impact:
  • Audit trail: the Action Log doesn't record the rename of an administrator account, which is a security-relevant change. Reading the log, the account appears to change name silently between two entries.
  • Extensions: they can't track renames through events. An extension that stores data per username can't learn the new name, because neither the CLI nor the XML API exposes the account ID for a later lookup.

STEPS TO REPRODUCE

Code:
PSA_PASSWORD='NJJWAoPV7604YncvXCPNF7i3yQfka87RZbEtGQjqTX8UM3xefsfk73A' plesk bin admin_alias --create bugrepro-old -passwd "" -email [email protected] -contact 'Bug Repro'
plesk bin admin_alias --update bugrepro-old -login bugrepro-new
plesk bin admin_alias --update bugrepro-new -contact 'Bug Repro 2'
plesk bin admin_alias --remove bugrepro-new

Then check the values at Tools & Settings › Action Log

ACTUAL RESULT
The update event for the rename has "Login Name" old = bugrepro-old, new = bugrepro-new.

EXPECTED RESULT
The rename event has old = bugrepro-old and new = bugrepro-old. The next, unrelated update then shows bugrepro-new as both old and new.

ANY ADDITIONAL INFORMATION

The same thing happens when the rename is combined with other changes in one call, for example --update <login> -login <new> -passwd "" -enabled true: the status change is reported correctly, but the rename is not. The rename itself succeeds, and admin_aliases.login has the new value.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Hi, Kaspar. Thank you for the report. I opened an internal case for further review of the behavior. I will follow up with more details as soon as possible.
 
Back
Top