Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
communig8-public opened this issue Sep 30, 2020 · 1 comment
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

Comments

@communig8-public
Copy link

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
@johnM2401 johnM2401 added 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 labels Sep 30, 2020
@pstevens71
Copy link
Contributor

+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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants