WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Customizing User Role Capabilities on Admin side (5 posts)

  1. Jennifer Ledbetter Clay
    Member
    Posted 2 years ago #

    I am searching for a plugin that allows me to customize the user roles as listed below...

    • Create new user roles
    • Edit Capabilities for the roles to allow users in the roles to EDIT only certain PAGES set by the admin of the site
    • The users in the role should also be able to ADD NEW pages under a certain parent page only
    • The users in the role should also only be able to add posts to certain categories

    So basically I have a large website with different departments. Each department will need access to edit their section, and their section only, of the website. Inside their section they will need to add, edit, delete pages.

    All departments will need to view the entire website.

    I do not mind if this is a premium plugin.

    If there is not a plugin, I'm interested in outsourcing this to be done. I'm on a deadline and need this function working ASAP.

    Thank you so much!

  2. Mike Schinkel
    Member
    Posted 2 years ago #

    Hi @geeksmakemehot (interesting screen name... :-):

    There may be a plugin to meet your needs but I haven't done the research so I don't know for sure if there is or is not. Hopefully there is and you'll get your needs meet for free.

    If, after research and help from others you find that what you need is not available off-the-shelf, you might consider having us do it. We are building a platform extension for WordPress we call "Sunrise" to address business content management system needs such as these (with plans to open source it once it is mature enough) and we've already done a lot of similar work for our sponsoring client's needs.

    Ironically I am working on a ticket today to implement essentially the same functionality you are asking about, except it will assume the site was implemented using features of Sunrise and you'll certainly want standalone functionality. What that means is I've already got my head around what's required to make what you want happen and it can be a bit tricky. WordPress doesn't provide developers with a clear cut way to identify "a certain page" nor "a certain parent page" besides a page's numeric ID, and it's not reliable to hardcode a page's ID into a plugin; what if one of your users deletes a page and adds another one? Now your functionality is broken.

    If you want the functionality to be reliable you'll need to add a UI layer on top of WordPress to allow admins to specify which pages are editable and by which roles. There are a variety of techniques for that; which to use depends on your use-cases. The same is true for your category limitations.

    Anyway, good luck finding that plugin, but if you need it developed then you can get in touch with me here. Be sure to let me know what your deadline is if you do.

  3. Jennifer Ledbetter Clay
    Member
    Posted 2 years ago #

    I'm still looking for a solution if anyone else could help me. I have the Members installed, but it isn't as extensive as I'd like.

    Thanks Mike. I'll be in touch with you if I can't make this work. My screen name has been around for a while. :) I'm very old school WordPress. Just getting back in the game the past year. I feel very behind!

  4. Jennifer Ledbetter Clay
    Member
    Posted 2 years ago #

    I found a plugin that does what I was looking for:

    Role Scoper
    http://wordpress.org/extend/plugins/role-scoper/

  5. Mike Schinkel
    Member
    Posted 2 years ago #

    @geeksmakemehot - Awesome! And thanks for posting the link to the plugin for others who might have the same need.

Topic Closed

This topic has been closed to new replies.

About this Topic