SuiteCRM icon indicating copy to clipboard operation
SuiteCRM copied to clipboard

email SMTP admin, if admin edits an SMTP connection for a user, the user cannot see their SMTP connection

Open communig8-public opened this issue 4 years ago • 1 comments

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

  1. Logon as the admin account
  2. Goto Admin -> User Management
  3. Select and edit a user record
  4. In Email Settings, click the Settings button and select the Main accounts tab in the Settings dialog
  5. Under Outgoing SMTP Mail Servers, clicked the edit (pen icon) for the user's own SMTP connection (not system)
  6. In the Outgoing Mail Server Properties, updated any field and click the Done button
  7. In the Settings dialog, click the Done button
  8. In the User records, click the Save button

Context

This prevent an Admin from setting/amending a User's email configuration.

Your Environment

  • SuiteCRM Version used: Version 7.11.10
  • Browser name and version: Any
  • Environment name and version: Any
  • Operating System and version: Any

communig8-public avatar Sep 30 '20 09:09 communig8-public

+1 on this one. I've found ONLY the user can add SMTP outbound email credentials. If I login as admin and add/edit SMTP it does actually create the record in "outbound emails" but is not available for the user to select or add to the users account. The only way to setup/edit a user SMTP is to login as the user.

pstevens71 avatar Jul 28 '22 13:07 pstevens71