• Resolved dnessett

    (@dnessett)


    I just installed PublishPress Capabilities. I wanted to block editing of a particular page except for the page owner. So, I selected the Editor Role and unchecked the “Edit Other” entries in the column (except Events for reasons I won’t go into). I then changed the owner of the page to a test user that I can login as and visit the page. No “edit page” link appeared at the top of browser window. However, if I login as an administrator, the link does appear.

    Have I misunderstood the instructions for restricting edit access to the page to the page owner?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Steve Burge

    (@stevejburge)

    Hi @dnessett

    Thanks for using PublishPress Capabilities.

    The right approach here will depend on the specifics of what you want, but something like this may help: https://publishpress.com/knowledge-base/manual-personal-pages/

    Thread Starter dnessett

    (@dnessett)

    Thanks for the Response. I followed the instructions on the page your referenced, but when I got to the point of “scrolling down and looking ‘for the box labelled, “Permissions: Edit this Page”.’, I could find no such box. For the record, I am using the Enfold Theme. Might that have something to do with this box not existing? Also, the “edit this page” link appears when I select “Edit Others” for the Editor role, but not when I deselect these capabilities (and the “Delete Others” capabilities) and login as the page owner (I have created a dummy account for testing purposes on our development site).

    Thread Starter dnessett

    (@dnessett)

    Just in case it might help, I have taken a screenshot of the capabilities settings page. You can download it here: https://drive.google.com/file/d/15buAITlMR9Z7Ual2bEaaG9aNBhJRQ39v/view?usp=sharing

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @dnessett

    I’m not familiar with the Enfold theme. If it’s one of those themes that takes over the whole post editing screen, it won’t show our “Permissions: Edit this Page” metabox.

    It’s also worth making sure that you’re testing as an Administrator.

    Thread Starter dnessett

    (@dnessett)

    Thanks again for the reply. If Enfold does indeed block the “Permissions: Edit this Page” metabox, then the only other option seems to be the deselection of the “Edit others” and “Delete others” capabilities for Editors. However, you haven’t mentioned this option, which suggests it won’t work. Is this correct?

    In regards to testing, I am testing as an Editor, because that is the role I am trying to control. The “edit this page” link shows up when I login as Administrator, but I am trying to control the editing capabilities of the Editor role, so testing as Administrator would not accomplish my objective.

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @dnessett

    Yes, unfortunately PublishPress Capabilities isn’t an option for blocking access to single pages.

    You will need PublishPress Permissions for that. If Enfold won’t allow you to access the metabox, it might be worth asking their support if they provide a workaround to show metaboxes.

    Thread Starter dnessett

    (@dnessett)

    Thanks again from your reply. I want to understand correctly the abilities of PublishPress Capabilities before I contact the vendor for the Enfold Theme. You said in your previous post that “PublishPress Capabilities isn’t an option for blocking access to single pages.” I found this a bit confusing, since what I need is to block access to all pages that an Editor does not own (by turning off the Edit Others capability) and then change the owner of a single page to a user who is an editor, thereby bypassing the “Edit Others” restriction for this user. Since the Editor Role still has the “Edit” capabilities checked, I presumed this meant the Editor is able to edit pages that he/she owns.

    But, it seems PublishPress Capabilities doesn’t support this configuration. In which case I am puzzled what the “Edit” capabilities control.

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @dnessett

    The way you describe it … yes, this feasible. You can control access by assigning users as “Authors” of a particular post.

    The Permissions plugin is better suited for these tasks, but your suggestion should work.

    Thread Starter dnessett

    (@dnessett)

    But, Steve, it doesn’t work, which was the whole point of my original post. Is this a bug? If so, how do I report it?

    Plugin Author Steve Burge

    (@stevejburge)

    @dnessett If you can confirm this on a post or page that is NOT using the Enfold theme, then yes it’s a bug.

    Lots of these pagebuilders add on their own editing restrictions. My first guess is that this is what Enfold is doing.

    Thread Starter dnessett

    (@dnessett)

    When I switch to another Theme (Twenty Twenty One), each page shows a bunch of markup that I presume Enfold handles, but the other Theme does not. This suggests Enfold does take over the whole post editing screen. What exactly should I ask the Enfold developers about its configuration that would enable the PublishPress Capabilities features I want?

    Thread Starter dnessett

    (@dnessett)

    I know it has been some time since I contributed to this thread, but I had some pressing business to take care of. Anyway, I received the following response from the maintainers of the Enfold Theme:

    “Hey BMMtOliveLC,

    Thank you for the inquiry.

    How do the plugin register the “Permissions: Edit this Page” metabox? Is this the metabox that is missing? The metabox should display fine in the post editor if they are using the add_meta_box function — the theme should not interfere with it.

    Best regards,
    Ismael”

    I don’t know how to respond to their question, so I would like some guidance from you.

    You can find this response here: https://kriesi.at/support/topic/enfold-theme-and-the-publish-press-capabilities-plugin/#post-1309966

    Dan Nessett

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Edit others locks out page owner’ is closed to new replies.