1

I have a theme for the frontend and I use "seven" for the backend as I set it on admin/appearance.

I created a new role: "power user", which is a limited access to the different content types. The "power user" role has access to the "View the administration theme" permission.

I created a new user, assigned it to the "power user" role and when I edit a content then the page is displayed by my frontend theme instead of the admin theme. I tested it on 2 different drupal systems with same results: 8.3.1 and 8.3.4. The admin theme works for the "administrator" role.

enter image description here

drupal admin theme not working for power_user role

Any idea how can I fix it?

Is this a bug, or there is something else that I forgot to set up?

  • 1
    Because they don't have permission to view the admin theme. – Kevin Jul 18 '17 at 21:37
  • 1
    They have "View the administration theme" permission: power_user[view the administration theme] = 1. What else do they need? – Zoltán Süle Jul 18 '17 at 21:41
  • 1
    What does that mean? Is it checked off in the admin? – Kevin Jul 18 '17 at 21:42
  • 1
    I took a screenshot about the current permissions setting. You can see that the "View the administration theme" permission is assigned to the "power user" role. – Zoltán Süle Jul 18 '17 at 21:49
  • 1
    Make sure you've checked the "Use the administration theme when editing or creating content" checkbox on the Appearance admin page (where you set the admin theme) – Jaypan Jul 18 '17 at 23:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.