0

I'm running magento 2.3.0 on php 7.1

I have two users each with a different user role/permissions created

Users     | User Role    | Role Resources (resource access)
----------|--------------|-------------------------------
Admin     |Administrator | All
dev       |Dev           | Custom (everything except permissions)

Issue 1

When a module was installed using the dev user and on logging in with the admin user the admin panel is completely messed up. Clearing cache did not help.

enter image description here

Issue 2

When logged in as the dev user the theme settings don't show up as they do when logged in as the admin user. As the below images show

View from dev user login (missing theme "wokiee" on left menu panel and within stores >> configuration) enter image description here

View from admin user login (shows theme "wokiee" on left menu panel and stores >> configuration) enter image description here

1

From the first issue, please make sure that you have deployed the static content using static-content:deploy after the installation of the new module.

On the second issue, make sure that resource access for WOKIEE is checked in the Role Resources of the user role Dev.

  • thank you, in the 1st issue, who runs that the static-content:deploy command? the dev user or the admin user, it's being installed by the dev user. In the 2nd issue is theme related, they haven't made it visible in role resources, so have taken that up with them. – user2240778 Jan 5 at 14:24
  • static content deployment can be implemented through a command line interface using php bin/magento setup:static-content:deploy -f (-f is used to force the deployment) – fmsthird Jan 5 at 14:34
  • Does it matter which user runs the command? In the scenario I outlined a user (dev) other than the admin (admin) installed the module which I assume is the cause of the issue. – user2240778 Jan 5 at 14:39
  • No, it doesn't matter. How did you install the module ? is it from the cli or from the admin panel? – fmsthird Jan 5 at 14:42
  • File upload and then cli – user2240778 Jan 5 at 14:48

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.