Solved

WordPress plugin specific admin

Posted on 2011-09-13
5
367 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

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 …
WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

732 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