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

Admin unable to log in as other users when 'allowAdminChanges' => false #3749

Closed
johnfmorton opened this issue Jan 29, 2019 · 1 comment
Closed

Comments

@johnfmorton
Copy link

Description

The title says it all.

Admin-level users are unable to log in as other users when 'allowAdminChanges' => false.

In 3.1.5 I was logging in as my other users and tweaking their account widgets but now that I'm in 3.1.6.1 I can no longer set up these accounts.

I receive this error dialog box:

http://share.jmx2.com/1JcXT4

Steps to reproduce

  1. 'allowAdminChanges' => false in config/general.php
  2. Log in as admin
  3. Attempt to log in as a lower level user (aka an "Editor" type of user)

Additional info

  • Craft version: 3.1.6.1
  • PHP version: 7.3
  • Database driver & version: MySQL 5.5
  • Plugins & versions: Guest Entries
@brandonkelly
Copy link
Member

brandonkelly commented Jan 30, 2019

Thanks for reporting that, it’s fixed for the next release!

To patch your install and get the fix early, change your craftcms/cms requirement in composer.json to:

"require": {
  "craftcms/cms": "dev-develop#0cf5513a84020b927b1e5534e9c98cab950ccbf8 as 3.1.6.1",
  "...": "..."
}

Then run composer update.

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