[Zimbra] - Allows update of DATA for unknown domain name for specific individual aliases
[Zimbra] - Allows update of DATA for unknown domain name for specific individual aliases
Original issue : https://gitlab.fusiondirectory.org/telecom-sud-paris/fd-support/-/issues/39
FD Process for User Updates
FD should have access to the list of existing domains and aliases but should not store them. Instead, it should retrieve and include this information in the update request to ensure a successful operation.
Flow:
- FD needs to update a user but lacks complete information.
- FD initiates an update request, but Zimbra responds that there are additional aliases and domain names associated with the user. Since FD did not include them in the request, Zimbra attempts to remove them, which fails due to insufficient permissions.
- FD should first retrieve the existing user information from Zimbra. Then, when sending the update request via the API, FD should include both the retrieved information from Zimbra (even if FD does not manage or store it) and the intended updates.
- By including the full set of known details, Zimbra SHOULD accept the update request without errors.
Outside default behavior
This is a clear deviation from default behavior. In this specific case, FusionDirectory unfortunately cannot be the original source of truth - it does not contains all required information on an individual.
The option to allows updates on unknown data towards Zimbra API must be ticked within FD backend configuration. (The solution is being developed as part of this MR).