Bug 53727 - [4.4] Renaming a user calls hook_ldap_pre_modify only after the action
[4.4] Renaming a user calls hook_ldap_pre_modify only after the action
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-8-errata
Assigned To: Florian Best
Arvid Requate
:
Depends on: 53674 53725
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-31 13:21 CEST by Florian Best
Modified: 2021-08-31 16:49 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-08-31 13:21:48 CEST
Backport to UCS 4.4

+++ This bug was initially created as a clone of Bug #53674 +++

In handlers/__init__.py the hook "hook_ldap_pre_modify" is called after self._ldap_pre_modify(). In the case of the users/user module this has the consequence, that a user rename happens before the "hook_ldap_pre_modify" has a chance to intervene in any way.