I am familiar with user roles and how to change them within WordPress 3+, My problem is when I disable a user from being able to view plugins, all plugins are disabled from view. How do I let them see only specific plugins?
Thanks in Advance,
Michael
Add your plugin with a capability argument.
So, if your plugin entry point is an admin page menu, you can use something like this:
add_menu_page(page_title, menu_title, capability, handle, [function], [icon_url])
You can set the “capability” to “upload_files”. that function sees that capability argument as “The minimum capability required to display and use this menu page”.
Maybe a good capability to use is
publish_pages
?for more info:
http://codex.wordpress.org/Function_Reference/add_menu_page
http://codex.wordpress.org/Roles_and_Capabilities
I think you won’t find the functionality you are searching for in the base install of WordPress. The Role Scoper plugin enables to define more specific rolesets that are user and group based
I was going to suggest the Members plugin by Justin Tadlock, but with that one it’s also difficult to show some plugins and others not.
Perhaps this article (from “Removing Menu Items”) can help you on your way a bit further?
Not sure if any of these answers have satisfied your question, but another plugin for adjusting the plugins certain user levels can see is User Role Editor.