[wp-hackers] Partial admin capabilities

Muro, Matthew mmuro at advance.ua.edu
Wed Jul 28 19:04:37 UTC 2010


Members is probably the best roles and capabilities plugin out there.

http://wordpress.org/extend/plugins/members/

Matthew Muro


On Jul 28, 2010, at 2:00 PM, Jeremy Clarke wrote:

I have a feeling this thread is proposing solutions that are unnecessarily
complicated based on his initial question:

On Tue, Jul 27, 2010 at 6:02 PM, Ryan Bilesky <rbilesky at gmail.com<mailto:rbilesky at gmail.com>> wrote:

The purpose of this would be
to restrict certain actions to just me, even though I have other
"administrators" on the blog, I want them to have some of the admin
capabilities but not all,


Ryan, are you aware that the role/capability system allows for the creation
of new roles with customized sets of capabilities? To accomplish what you
describe all you need to do is create a role which has the set of caps that
you want your sub-admins to have, but not the ones you want to keep for
yourself.

You can do this either by creating a whole new role with the caps you want,
or by adding the missing ones to the 'editor' role, and giving that to your
sub-admins. The default roles (contributor, author, editor, administrator)
are just defaults, you can have whatever combinations of powers that you
want.

That said you need a plugin to modify the roles and capabilities. Luckily
all plugins that do this are similar in that they use a hidden API in
wordpress, so if your plugin stops working there will probably be a new one
you can switch to which will understand whatever you already changed.

I use this one lately. It's not perfect but it works:
http://wordpress.org/extend/plugins/capsman/

Anyone have recommendations for a better one? I'd love one that has all the
powers the broken old Role Manager plugin had (esp. the ability to assign
custom caps to specific users without creating a whole new role, which the
API supports but Capability Manager does not).

--
Jeremy Clarke
Code and Design | globalvoicesonline.org
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list