• Resolved Stefanowitz

    (@stefanowitz)


    Is it possible to restrict the access to the “View Admin As” plugin to one specific admin user (me)? There are other Admin users that should not have access to the plugin.

    I can not remove the “View Admin As” capability from the “Admin” role because that would remove it for me as well and I would prefer not having to create a new role for me just for that purpose.

    Is it possible by putting some code into the functions.php or into the /mu-plugin/ folder?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @stefanowitz

    As I am on holidays now this suggestion is untested:
    You could try to remove the cap from the admin role and make your own user a superior admin.
    If this doesn’t work I’ll have to take a loop when I’m back.

    Alternatively you can clone the admin role and grant this role to the other users.

    Cheers, Jory

    Plugin Author Jory Hogeveen

    (@keraweb)

    Closing topic due to inactivity!
    Feel free to re-open if you still need help.

    Cheers, Jory

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restrict access to plugin to a specific user’ is closed to new replies.