49 responses to “Users, roles, and capabilities in WordPress”

  1. Rachel Rock

    I saw your tweets and felt bad (I hate when that happens) so I thought that I better read your article after all your hard work. And guess what – another lesson learned. Thanks for the info. It is usually d.o. who does this stuff for our site and he raves about you. Like he says, the elements that set your service apart from the rest is trust, and that you are a natural born teacher. Thanks for what you do – Rachel from hypyklrz.

  2. 8207h32

    I have been used role manager plugin for wordpress 2.7.1 and capability manager for 2.8.4. And I just satisfied. But I can’t wait to try your plugin, your plugin feature look more promising…

  3. Roles And Caps In Plain English « Weblog Tools Collection

    [...] morning, I read a refreshing post by Justin Tadlock on his personal blog which does a wonderful job explaining the roles and [...]

  4. Adam W. Warner

    Well stated Justin and will save you from explaining after the plugin release. The screenshot looks great!

  5. John Hawkins

    I’m definitely looking forward to the plugin. Having a visual representation of what each user can and can’t do will be extremely useful.

    Thanks for the informative post and for the upcoming plugin!

  6. David

    Screenshot looks fantastic and I’m very happy to see capability “moderate comments” there, which if I’m not wrong Role Manager doesn’t have, and that one is actually the most important to me.

  7. Carson Sasser

    I think you may have stressed the idea that roles are not hierarchical a bit too much. The distinction you’re making is that roles are not inherently hierarchical, but can be made so in the way that you define their capabilities. In actual practice, a set of roles and capabilities that are not somewhat hierarchical makes little sense to me. In fact, they are somewhat hierarchical by default in WordPress. On the other hand, a purely hierarchical set is not useful in most cases either.

  8. NotAlame

    Thanks for this explannation.
    But, what is the difference with this plugin: Role Manager :
    http://www.im-web-gefunden.de/wordpress-plugins/role-manager/

    And I have another question:
    How can we display the role name of the comment author on his comment??

  9. NotAlame

    Thanks for your quick answer…

    For your futur plugin, I hope it don’t use a big amount of memory because I have memory_limit=24M on my hosting (I’m using wordpress 2.6.5)

    And for my question… I asked 2 times but no one answered me…
    I made researches and only found how to display it for author POSTs…

  10. Xavier

    Sounds to me like the makings of an extremely useful and popular plugin. Good work Justin!

  11. Dan Clark

    @Carson Sasser: I don’t think the point being stressed is that Roles can be made to be “non-hierarchical.” The point is that they are not hierarchical, e.g. that the Admin role need not always inherit the capabilities of the other roles. The Roles/Capabilities chart in the codex ( http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table ) does not make this point clear, which may be causing some of the confusion Justin is addressing.

    And Justin, I look forward to eventually creating little demon_eaters on my site, with the capability to eat_demons!

  12. Joaquin

    Thanks for this Justing. It’s now clear :-) Now that I digged in to codex and find out what each capability does, your plugin will be rocking this side of Wordpress.

    Happy to be an alpha/beta tester. You have my email.

    Cheers,

    Joaquín.-

  13. Deb

    I have to admit i was one of those idiots that didn’t know how the WordPress role and capability system work. I now know thanks! And thanks for putting it in words anyone could understand.

  14. Fape

    It’sjvery similar to Capability Manager by Jordi Canals. You can see it at http://alkivia.org/wordpress/capsman/
    It’s an awsome plugin to manage capabilities.

  15. Fape

    Justin excuse me, I’m not saying that it’s the same thing just that is very similar in some functions. Perhaps it’s because my english is very poor (I’m speaker spanish). Again, excuse me! I follow your job and use some of your plugins in my sites and think that you do an amazing job sharing your knowledge.

  16. Garry

    Sounds to me like the makings of an extremely useful and popular plugin. Good work Justin! keep it up.

  17. WordPress users en rechten goed uitgelegd : WordPress Dimensie

    [...] en de daaraan gekoppelde rechten buiten de bestaande WordPress Codex pagina dan is hier je artikel: Users, roles, and capabilities in WordPress. Deel en bookmark [...]

  18. HW

    Hi Justin,

    Is it possible to use this plugin for creating something like in this scenario:

    All Commenters need to register ( it is already set in WP Settings)

    So, once someone registers he will be able to comment. After sometime the commenter feels to delete his comment so he logs back in and must be able to just delete his own comment only.

    I hope you can look into this

  19. Start Action

    Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.

  20. Dave

    Looking good Justin. Based on your thoroughness and recent screenshot, I’m eagerly anticipating this plugin.

    Thanks!

  21. Flick

    Definitely learnt something new today, thank you :) Found out about your post on WLTC (Jeff’s post) and rushed over to learn about this concept in plain English. Spot on. Looking forward to the plugin as well!

  22. NotAlame

    Hey Justin, is there any system that will buzz us by email when your plugin will be out??

  23. paperReduction

    Sounds like you’re working on something that will be in the core WP 2.9 release: http://www.wptavern.com/forum/general-wordpress/699-new-way-doing-user-roles-capabilities.html

  24. pavankumar

    users, roles and capabilities are well described here.

  25. matthijs

    Looks very promising Justin! Currently I use Rolemanager on a couple of sites, but I’m scared by the lack of development and anxiously awaiting the day when an upgrade of wp breaks the plugin (and the whole site with that).

    Your explanation of roles and capabilities was excellent. I’d love to hear more insight into exactly what capabilities are, how they are defined and created in wordpress itself, etc.

    p.s. is my email address being shown when I fill it in here?

  26. Maneesh Bhati

    I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Thanks for sharing.

  27. Banner Stands

    Ahh now i see. Thanks for the explanation.

  28. Martin

    Sounds quit nice. I want to install a wordpress-blog for the school of my children. But it is very difficult to handle all users and usertypes. Perhaps this plugin helps. Looking forward …
    Greeting, Martin

  29. Lauro Faria

    In my opinion, Wordpress set out the rules with a hierarchical pattern, but not hard, they can be altered and lose this hierarchy.

    Having the right tool the administrator can assign any way its capabilities.

    The comment from Carson Sasser expressed practically my thoughts.

    My hope is that your plugin adds the possibility of the administrator can choose your options, either hierarchical or not.

    Use the Role Manager on some projects and need to determine access to specific categories.

    I have a beta site, which I use for my tests, I think is productive can help you test your plugin.

  30. WPGPL

    I will waiting your plugins and make some review on WPGPL.com ;)

  31. David C Ballard

    It occurred to me, after reading the post about roles and capabilities that many games characters seemed to build on that premise. You pick a role (character) and you go about earning capabilities (a magic staff – more special powers – life etc.). Hey – it is just me spacing out.

    Whether or not that is a relevant analogy – your explanation gave me a clear understanding and a better perspective.

    Thanks

    david c ballard

  32. Lauro Faria

    Note: I do not speak English, then use the Google translator. :-)

    That said, reread any sentences.

    The Wordpress was prepared to be a typical blog, but what makes it good is their ability to CMS that are many.

    At this point, your plugin is very welcome.

    The term administrator, you may not be appropriate. Then consider any User that can receive permission to use more advanced features and specific, without considering a “traditional hierarchy”.

    Roles edit_roles and create_roles are still obscure to me. Especially with the right terms for each role.

    As I read about your plugin, is mentioned on access to content. In my case, it is interesting also access the content of this generation. Especially being able to separate the access to certain categories (post).

    Bom trabalho. (Good work.)

  33. estetik

    thanks, i can quote this article ?

  34. David C Ballard

    Grrrr…I am a victim of “Paralysis from Analysis”.

    It drives me crazy not to be able to perform a task because the information was uncovered in the beginning, or have to undue something because the particular application is not available with your version of the software. For example, when you have a great idea, and go to implement it, only to find out…Sorry that will not work, you do not have that capability.

    My partner is setting up my personal blog, and asked me to pick out the theme for WordPress. Holly Mollies…That is unfair, especially, when suffering from paralysis by analysis. This is why I appreciated reading your post Justin. It helped with the bigger picture.
    Every blog – blog post – radio show – social networking site – that we built or subscribed to, for the past five years, have all dealt with children, and their family’s safety online and offline.

    I am attempting to write a book that I believe will be the contributing factors to help keep our children safe, and provide for a healthy and safe Internet; hence, my personal blog.

    Justin, your comment, regarding an element of gaming is something I have considered, although more along the traditional board game, than the digital online concept. I hope that such a game would empower children, and their family’s better understand online and offline safety.

    I would like to make the blog interactive using different mediums, allowing for the opinions of others, and possibly incorporating the game concept digitally.

    Over the years, we have been approached to evaluate products and services, which we personally, as well as our company uses. The site would offer these same products to help fund the publishing of the book.

    Currently the blog is set up on WP using Dream Theme – any suggestions as to the best bells and/or whistles, which will help for a smooth transition into the future would be greatly appreciated.

    David

  35. Roles and capabilities plugin for wordpress

    [...] necessity back on July 22nd, and it garnered a lot of support and interest. Since then he’s gone forward with development, and two days ago (yes, I know I’m slow) has released the first beta for [...]

  36. Christian Hollingsworth

    It’s very important to understand roles for users when incorporating user commenting and/or forums with your blog. You don’t want spammers to go wild. Great post!

  37. Larry

    Good luck with the plugins! I like the permissions features you discuss in your article. I took a look a the screenshot and that is pretty detailed!

  38. Carmellita

    Thanks a bunch for this information, user roles have been somewhat confusing for me, I’ve got some clarity thanks to this post here. Thanks again.

  39. Andrei Gheorghiu

    I have tested the post/page limitations and, not surprisingly, it works like a charm.

    However, there is one thing that’s not as it should, i suppose. I know it’s much more difficult to achieve, but it would be nice if forbidden pages/posts wouldn’t appear in the list for the users who cannot view their contents.

    It’s pretty annoying to see a large structure from which one can only access a small part. Also, one has to find out on a trial and error basis which are the sections of the site he can access and has to remember them.

    I guess hiding forbidden pages/posts in: widgets, menus and admin area would make a big change for this plugin.
    Is this achievable?

    I’ll test it some more.
    So far it’s pretty neat, like everything you do.
    Good work.

  40. Andrei Gheorghiu

    Oops. Sorry. Meant to post the above on the members plugin page.

  41. John Glass

    Although I am not running the plugin your basic outlining of users, roles ect was incredible. Such a simple explanation that I can show my Mom understand a little more. Thank you

  42. BP

    Nice to see someone spending time on the more technical plugins, have taken up a few recommendations many, many thanks for your hard work. bp

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution.

Please use your real name or a pseudonym (e.g., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.