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

Changing Admin User's e-mail removes admin rights #23

Open
Doc-Saintly opened this issue Mar 7, 2020 · 1 comment
Open

Changing Admin User's e-mail removes admin rights #23

Doc-Saintly opened this issue Mar 7, 2020 · 1 comment
Assignees

Comments

@Doc-Saintly
Copy link

Doc-Saintly commented Mar 7, 2020

Steps to reproduce:

  1. Install Friendica Application
  2. Set User1 as Admin
  3. Log in as User1
  4. Change e-mail address to a different one
  5. The admin settings icon disappears

Tried to change the e-mail back and it gives the error

Cannot change to that email.

Only solution seems to be to uninstall and re-install.

A workaround is to use a dedicated admin user for Friendica and do not change the e-mail address.

Another workaround is to manually change the local.config.php file:

'admin_email' => ...

@anmol26s
Copy link

The 'admin_email' => is added while installation. This is default feature. Once the admin rights are given to a user its responsibility of the admin to take care of this type of issues.

We can give a warning about this in the readme. I will add this in next update.

For a solution the admin email in the app settings can be changed and upgrade the app, which will change the admin email, thus giving back the admin rights to a user.

@anmol26s anmol26s self-assigned this Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants