JoryHogeveen / view-admin-as

View the WordPress admin as a different role, switch between users, temporarily change your capabilities, set default screen settings for roles, manage your roles and capabilities.

Home Page:https://wordpress.org/plugins/view-admin-as/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-Site Lost Functionality

HarmonyEd opened this issue · comments

We switched our site to multisite. We did not make any other changes. But now we have staff reporting they can't see the View As option. I have checked their capabilities for all the roles these users have and they all have the same capabilities as they had before when it was working. Is the site not multisite capable?

Describe the bug

A clear and concise description of what the bug is.

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Specifications

  • Plugin Version:
  • WordPress Version:
  • Other plugins installed:
  • Theme:
  • Browser:

Additional context

Add any other context about the problem here.

Hello,
In a multisite environment you need to be a super admin to view the plugin by default.
If you need to enable this plugin for regular admins you'll have to grant the view_admin_as capability.
Cheers, Jory

All of these people have the view_admin_as role for any and on role they have.

It's a capability that depends on another capability. Have you fully read the documentation?
https://github.com/JoryHogeveen/view-admin-as/wiki/Custom-capabilities

Yes I have. I had fully read twice before submitting. I am not one of those people that don't do their due diligence first. I hate it when people do that to me. However, I did miss (not sure how) the line that says add manage_network_users.

Thanks for your help.

By the way, all of these users have Administrator access and our role permissions say that we want it to trump all others.

However, I did miss (not sure how) the line that says add manage_network_users.

No problemo!

By the way, all of these users have Administrator access and our role permissions say that we want it to trump all others.

Not sure what you mean with this. I do know that once you run a multisite an administrator gets somewhat "downgraded".

Cheers, Jory