• Resolved ceolmhor

    (@ceolmhor)


    We have a team of folks who will maintain various pages of our WordPress blog. I would like all the pages to be public, but I would like to control who can edit which pages, so that an unskilled editor can only damage his own stuff. The simplest way would seem to be to have the updating of pages protected by password. All the password-protection information I can find here seems to deal with password-protecting read access to the pages. I want to password-protect only the write access. Is there a way to do this?

Viewing 13 replies - 1 through 13 (of 13 total)
  • This is best done through User Roles and Capabilities

    Thread Starter ceolmhor

    (@ceolmhor)

    I see how User Roles and Capabilities can be used to allow one user to have only read access, while another can edit. However, I don’t see how this can be used to allow one editor to edit page A, but not page B, while another editor can edit page B, but not page A, and a non-editor can see both, but edit neither. That’s my scenario. Have I missed something?

    The role of editor must be fully trusted.

    Thread Starter ceolmhor

    (@ceolmhor)

    I understand that’s WordPress’s basic model, but was hoping for some mechanism to partition the content into groups for different editors. I take it you’re telling me that’s not something anyone has done?

    As WordPress is dynamic, one cannot use a read write rule for a post or page. It’s not a folder or file. One could review other techniques used with the administration of PHP on a server (this requires much ado) and is beyond the scope of this forum.

    If you want editors to only manage their own stuff, remove the edit_others_posts, edit_others_pages, delete_others_posts, delete_others_pages capabilities from the role.

    You can use a role management plugin to handle this.

    Thread Starter ceolmhor

    (@ceolmhor)

    Aha. I hadn’t thought of actually altering the author of a page and setting up an editor class that can only edit “its own” stuff. I think I can see my way from here. Thanks very much, fonglh.

    Thread Starter ceolmhor

    (@ceolmhor)

    This appears to work beautifully. Thanks again, fonglh. ??

    Glad it worked for you ?? Please mark the thread as resolved, there should be a control on the right of the page.

    Would like to know what Role Management plug in that Ceolmhor used. I cannot find one that allows me to designates the page that the one and only page that editor A can edit and not get into Editor B work.
    I downloaded a plug in and it would let me designate the role but not the page…. further help needed.

    Thanks

    Thread Starter ceolmhor

    (@ceolmhor)

    The plug-in I chose is called User Role Manager, but that’s not the trick you need. The way I get the specialized editing is by dividing the pages in the website into areas of responsibility (say, News Editor and Calendar Editor). I create separate roles for News Editor and Calendar Editor. These roles have the same permissions, allowing them to edit only their own pages. I then set the Author field of each page to be the editor role I want to have responsibility for that page. When, say, the News Editor logs in, she has permission to edit all the pages that were authored by the News Editor, and no others, because the defined permissions of the role allow her to edit only her own pages.

    Hopefully, it’s clear that News Editor is not a role. It’s an account to which I give Editor permissions. I’ve redefined Editor permissions to allow only editing of the user’s own pages.

    This isn’t perfect — it allows, for example, my To-Do plug-in to be editable by all accounts with Editor permissions. But it’s working satisfactorily, I think. It’s early days, though.

    My problem.. I am the webmaster of magnificat-ministry.org then scroll down to chapters, then to chapter websites.
    There are 77 chapters world wide
    Central team wants each chapter to have a page on the international website… thus 77 new pages to add eventually….pages will be a cookie cutter style page … basic information etc pertinent to a chapters area etc.

    Idea here is that each chapter would be taught to edit their pages and they would keep them up.–Might be a far fetched order for many.. anyway freeing me up from constant editing etc. …..

    Need to have One to two people in each chapter capable of editing ONLY their own page and not any others.
    I am being led to the user capability stuff which is fine… as it will give permission for only one page but there is nothing there to designate the page so not seeing how this is going to help me….
    Any ideas you have are gratefully and graciously appreciated. You can only imagine my nightmare….which would be ongoing I am sure…

    Thread Starter ceolmhor

    (@ceolmhor)

    Well, I think we’re in the same situation, but obviously you’re operating at a larger scale. My website is divided into maybe a dozen areas, so I have a dozen user accounts that are dedicated to this sort of editing.

    It would also be possible to elevate individual user accounts (“Tom Jones”, for example) to Editor permissions and assign a page to that user. But I think that idea is full of headaches, so I created special accounts for each editable section (one or more pages). YMMV.

    It took me some searching to find the author field. Edit a page, then look for a combobox in the upper-right corner of the screen that’s labelled “Screen Options”. Click it and check the Author box. Then you’ll be able to assign pages to individual accounts.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Public view, but password-protected editing?’ is closed to new replies.