Allow Editing of Specific Pages
PublishPress Permissions allows you to grant editing access to a specific page or branch of pages.
In this tutorial, we'll see how to give a low-level user access to edit a specific group of pages. I'll show you two approaches, both using the PublishPress Permissions plugin.
I've created one user in the “Subscriber” role. By default, this user is not allowed to edit any content in WordPress because the Subscriber role has zero editing permissions.
I have also created these pages and sub-pages. The plan is give the Sports Editor access to only these pages:
First, make sure the post type in question is selected for use with PublishPress Permissions:
- Go Permissions > Settings > Core.
- Make sure your post type is selected under “Filtered Post Types”:
Method #1. Use the options inside each page
This first method is easy to use if you have a small number of pages.
- Go to the “Pages” screen. Choose the parent page, which in my case is “Sports”.
- Scroll down to the “Permissions: Edit this Page” area.
- Click the “Users” tab.
- Use the “Find Users” box to search for your user.
- Highlight the users name and click “Select”.
- You can now choose “Enabled” for this user. They will be able to edit this page and all the child pages.
You can now test the user account. This image below shows what the Sports Editor will be able to see. They will have very limited access to this WordPress site, except for the pages you have given them editing access to.
Method #2. Choose permissions in bulk
This second method is probably easier if you want to grant access to a large number of pages, particularly if they are not all sub-pages of the same page.
- Go to the Users screen and click the link to the users role:
- Post Type: choose “Page”.
- Operation: choose “Edit”.
- Adjustment: choose “Enable”.
- Select Pages: Choose “View All”. You can now scan and give this user editing access to any pages you choose.
- Click “Add Selected”.
- Click “Save Permissions”.
You can now test the user account. As with Method #1 above, they will have very limited access to this WordPress site, except for the pages you have given them editing access to.