How to Control Permissions for Statuses
PublishPress Permissions Pro makes it possible to add permissions to custom statuses. For example, you can allow some user to edit posts only if they are in the “Pitch” status.
Let me walk you through an example of how this works.
- You can start the process by viewing the statuses under Permissions > Post Statuses.
- Under each status, you can click the “Enable Custom Capabilities”. If you click this link, you will now we able to customize the permissions for this status.
- Go to Permissions > Groups.
In this example, I'm going to customize the Authors role. Normally Authors can only see their own Posts. In this example, I'm going to allow Authors to act as “Editors” but only for Posts in the “Pitch” Status. I have a site with dozens of Posts. However, by default, the Author can only see them if they are the official “Author”:
- Click on the name of the group you want to customize permissions for.
The key to controlling permissions for statuses is the “Add Supplemental Roles” feature. For example, you can give Authors an additional “Editor” role but only for posts in the “Pitch” status.
- Click “Add Role”.
- Click “Save Roles”.
Now you can test out the new setup.
- Login to your WordPress site as a user with the Author role.
- Go the “Posts” screen.
You will be able to edit posts in the “Pitch” status, plus any posts where you are the Author of that post. All other posts are automatically hidden.
Note: If you don't see all the posts where you are the Author of that post, log back in as an admin and go to Permissions > Post Statuses. It's possible that some other statuses have Custom Capabilities enabled and those are interfering with your Author access.
The Submitter Role
When you're assigning Supplemental Roles for status, one available selection is “Submitter”. This is useful feature because it allows users to submit a post to the specified status. However, users will this role will not be able to interact with the post after submitting it.