Restrict access to plugin to a specific user
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Restrict access to plugin to a specific user’ is closed to new replies.