WordPress.org

Support

Support » Plugins and Hacks » Groups » Restrict Write Access

Restrict Write Access

  • -creynolds-aiec

    @-creynolds-aiec

    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author itthinx

    @itthinx

    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

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restrict Write Access’ is closed to new replies.
Skip to toolbar