• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

WordPress plugin specific admin


Does anyone know if there is any way, a plugin, or what not, to have permissions within WordPress for users to administer specific plugins?  Such as if I have a WordPress site which has, among other things, the Job Manager plugin, and I want an HR user to only be able to administer the job plugin but not all of the site?

  • 3
1 Solution
Jason C. LevineNo oneCommented:
Hi ccwestbrook,

The user permissions in WordPress don't work that way which is one advantage CMS systems like Drupal and Joomla have over it.  All plugins are controlled by a role assignment and users belong to a role.  So the only "easy" solution would be to create a custom user role that can administer plugins but that user would have access to all plugins if you went that way.

The "correct" solution would involve altering the plugin so the admin page options it creates are visible to a specific custom role and then you only assign one user to that custom role.  But if you start messing with someone else's plugin, your edits will disappear every time you update it.

Might want to consider using Capabilities Manager to enable plugins for a new user role and then educate those users to not mess with plugins that they don't have to.  
I think this will work for you

check out this

Jason C. LevineNo oneCommented:
Role Manager works the same way as Capabilities Manager.  You can assign a new capability to a user role to let them access plugins but not limit a specific plugin to a specific role.
ccwestbrookAuthor Commented:
Well I went ahead and used a capabilities manager, creating a custom capability and role, and edited the plugin to use that capability, and assigned the capability to the role, and the role to the user.  That worked!  Thanks a lot
Jason C. LevineNo oneCommented:
Good job!  I didn't know if editing the plugin was an option available to you (skill wise) but it seems so.  

Just remember...back up those changes somewhere because they will disappear if the plugin updates.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now