An Example of Permissions for Custom Statuses

PublishPress Statuses 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. In this guide, we'll walk you through an example of how this works. This guide uses three plugins:

In this example, we're going to customize the Author role. Normally Authors can only see their own Posts. In this example, I'm going to allow Authors to edit posts in the “Pitch” status.

Our recommended approach is to add roles as shown in this guide. We recommend this approach because it scales efficiently, plus it doesn't require you to create and assign new user roles.

  • Go to “Statuses” in your WordPress admin area.
  • Click on the “Pitch” status.
Edit the Pitch status
  • Click on the “Post Access” tab.
  • Choose “Custom Capabilities for this Status”.
  • You will now we able to customize the permissions for this status. In this screenshot below, we are giving the “Author” role access for the “Pitch” status.
Custom capabilities for Pitch status

Now you can test out the new setup.

  • Login to your WordPress site as a user with the Author role. You can use the User Testing feature.
  • 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.