WordPress.org

Ready to get started?Download WordPress

Forums

Groups
Restrict Write Access (3 posts)

  1. -creynolds-aiec
    Member
    Posted 8 months ago #

    Is there a way to restrict write access to a specific post or page. So let's say that our safety department needs access to edit their pages on the site but no one else's. Can this be accomplished with groups. It is super easy with read access but I can't figure out write access.

    Thanks in advance.

    http://wordpress.org/plugins/groups/

  2. itthinx
    Member
    Plugin Author

    Posted 8 months ago #

    Thanks for the suggestion, it's not built in and while writing this I think ... why not? I suppose this should be added right on top of the @todo list for Groups!

    Currently you could achieve it by maintaining your own table (relating users allowed to write and post IDs) and using Groups' API to check if the current user belongs to the group or has the right capabilities needed to edit a post.

    Although this doesn't cover the exact requirement you outlined, a group allowed to fully manage a Pizza custom post type would have these capabilities:

    edit_pizzas
    edit_others_pizzas
    publish_pizzas
    edit_published_pizzas
    read_private_pizzas
    delete_pizzas
    delete_private_pizzas
    delete_published_pizzas
    delete_others_pizzas
    edit_private_pizzas
  3. -creynolds-aiec
    Member
    Posted 5 months ago #

    Hi thanks for the reply. Is this going added or added already in a recent version of Groups?
    If not then maybe an eta.

    Thanks for an awesome plugin.

    Chris

Reply

You must log in to post.

About this Plugin

About this Topic