How to grant a limited admin access to WordPress users?

Home \ How to \ How to grant a limited admin access to WordPress users?

Many of WordPress websites owners hesitate giving theme developers, plugins developers or support agents an admin access to their dashboard. Developers will usually ask for a temporary administrator access in order to fix issues in their themes or plugins which they could not reproduce on their own websites. Websites admins usually crane a little before sending the developer the admin access. This happens because of many reasons; the most important one is that the administrators do not usually trust the developers on their data, especially sensitive data such as users emails, eCommerce orders data or even their content (posts and pages).

Since I am a WordPress plugins developer myself, I asked many of my customers before for a temporary admin access to fix issues on their websites. A few of them hesitated or even didn’t agree on sending me the credentials. So, I thought to build a WordPress plugin to overcome this problem.

I built a simple plugin “Controlled Admin Access“. The plugin allows you to create/update/delete temporary users with a limited access to the dashboard pages.

screenshot-1

As you see in the screenshot, this is the main page of the plugin. At this page, you can create a new user with the usual username, email and password fields. The other fields which are the important ones. Menu Access is the field where you can check the dashboard pages which you don’t want the new user to access. Moreover, you can check/uncheck sub-menu items. Obviously, plugins and users pages are already checked and disabled since the plugin would be useless if the user had an access to them.

“Expiring in” field is a where you set a time limit for the user, the user will be disabled after the selected period of time. The options of the field are Non-Expiring, 1 Day and 3 Days. You can also extend the time by editing the user in “Manage Users” page in case if the time ended. This time limit is valuable if you forgot to delete the user after he finishes fixing the issue.

I hope that you find the plugin useful to you, and please do not hesitate to send me any ideas to enhance it. Furthermore, if you liked the idea/plugin please give it 5-starts on wordpress.org.

 

ABOUT THE AUTHOR: Waseem Founder and Lead Developer of WPRuby.

LEAVE YOUR COMMENT

Your email address will not be published.