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

WordPress plugin specific admin

Hi,

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?

Thanks
0
ccwestbrook
Asked:
ccwestbrook
  • 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.  
0
 
garykristenCommented:
I think this will work for you

check out this

http://sourceforge.net/projects/role-manager/
0
 
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.
0
 
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
0
 
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.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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