Solved

WordPress plugin specific admin

Posted on 2011-09-13
5
356 Views
Last Modified: 2012-05-12
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
Comment
Question by:ccwestbrook
  • 3
5 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 250 total points
ID: 36533677
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
 
LVL 3

Expert Comment

by:garykristen
ID: 36536092
I think this will work for you

check out this

http://sourceforge.net/projects/role-manager/
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36537925
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
 

Author Closing Comment

by:ccwestbrook
ID: 36538299
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
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36538305
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What's this? As a volunteer Page Editor for Experts-Exchange.com, I have noticed that many authors also have blogs, and pull articles from their blogs to post at Experts-Exchange. I appreciate each author sharing their blog content with our site …
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question