email SMTP admin, if admin edits an SMTP connection for a user, the user cannot see their SMTP connection #8881
Labels
Area: Emails:Config
Issues & PRs related to email configuration
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
If the SuiteCRM admin user logs in to SuiteCRM and edits another user's SMTP connection via Admin -> User Management,
the saved record in the table outbound_email (user_id column) will have the user's user_id replaced with the admin's user_id. This leaves the SMTP record disconnected from the user who now cannot see it in their own email configuration.
Expected Behavior
The updated SMTP connection record should remain associated with the user's user_id by having the user's user_id in the record.
Actual Behavior
The SMTP connection record contains the admin's user_id and is not visible to the original user.
Possible Fix
If the admin account edits another user's SMTP connection record, the original user's user_id should not be modified.
Steps to Reproduce
Context
This prevent an Admin from setting/amending a User's email configuration.
Your Environment
The text was updated successfully, but these errors were encountered: