appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.95k stars 3.66k forks source link

[Bug]: Admin emails configured from docker file is not able to access Admin Settings #33741

Open tomjose92 opened 4 months ago

tomjose92 commented 4 months ago

Is there an existing issue for this?

Description

I as an administrator of my instance, had forgotten the password of my email id. And sadly I hadnt configured the email settings on my instance yet. So I signed up with a different user account, and from the docker file I had updated the APPSMITH_ADMIN_EMAILS to include the new email account as well.

On refreshing the instance, I logged in as the new user, but I am not able to see the admin settings.

Much later, i finally got hold of the password of the original administrator account. And when I logged in and went to administrator settings, I am able to see the second user's email account in the list of Admins. But that user is still not able to see Admin settings when logged into.

Attached screenshots below, of the instance after updating the email id in the docker file.

Screenshot 2024-05-27 at 11 45 10 AM Screenshot 2024-05-27 at 11 45 23 AM

Steps To Reproduce

  1. Edit stacks/configuration/docker.env file, and add another email id to the environment variable APPSMITH_ADMIN_EMAILS
  2. Restart the instance
  3. Sign up/Login as the user
  4. The user will not be able to see the Admin settings

Public Sample App

No response

Environment

Production

Severity

Low (Cosmetic UI issues)

Issue video log

No response

Version

Self Hosted 1.26

nsarupr commented 3 months ago

Please add your planning poker estimate with Zenhub @ayushpahwa