How to Control Permissions for WP Job Manager

WP Job Manager is a popular plugin with over 100,000 active installs and a wide range of available add-ons. This plugin can add job boards to your WordPress site so people can look for work and post their resumes. WP Job Manager is built by Automattic, the company behind WordPress.com. There's a free version on WordPress.org and the add-ons are at WPJobManager.com.

A PublishPress customer wanted to create a user who could manage the jobs and resumes inside the WP Job Manager. However, they didn't want to give this user access to any other area of the site.

In this tutorial, I'll show you how to create a “Job Manager” role on your site. We'll also explore the capabilities available in the WP Job Manager plugin.

To follow along with this guide, we recommend installing the PublishPress Capabilities plugin.


How to Create a Job Manager role

First, we're going to create a role called Job Manager.

  • Make sure you have PublishPress Capabilities Pro installed.
  • Go to “Capabilities” then “Roles” in your WordPress admin menu.
  • Enter “Job Manager” into the box on the left and click “Add”.
  • You will see your new role in the right column.
Job Manager Role
Job Manager Role

Now we're going to choose the permissions for this new role:

  • Go to “Capabilities” in your WordPress admin menu.
  • Choose “Job Manager” at the top of the screen.
  • Check all the boxes in the “Job Listings” rows.
Job Manager Role Permissions
Job Manager Role Permissions

In the center of the screen, there are more capabilities you can give the “Job Manager”: read and manage options.

  • read is essential because it allows the users to access the WordPress dashboard.
  • manage options is optional and allows users to configure the settings inside WP Job Manager.
Job Manager Capabilities
Job Manager Capabilities

Now you can test your new “Job Manager” role.

  • Add a user to the new role.
  • Log in to your site as the new user. The image below shows what you will see.
Job Manager Menu Links
Job Manager Menu Links

Currently, your “Job Manager” user can see all of the WP Job Manager links, plus some other WordPress menus.

To remove “Settings” and “Add-ons” from the menu:

  • Log back using your Administrator account.
  • Go to “Capabilities”.
  • Uncheck the box for “manage options”.

To remove the other links you will need the Pro version of PublishPress Capabilities. The Pro version has a feature that allows you to block admin menus.

  • Go to “Capabilities” and then “Admin Menus”.
  • Choose “Job Manager” at the top of the screen.
  • You can place a red X next to any menu link that you don't want the user to see:
Wp Job Manager
Wp Job Manager 1

The Employer Role in WP Job Manager

The WP Job Manager plugin also create an “Employer” role when your first install it.

By default, if a user registers on your site while posting a job, they will be assigned this “Employer” role. Inside PublishPress Capabilities, you can see that these users have very limited permissions. However, you can configure their role and give them more capabilities if you wish.

Employer Role
Employer Role

Summary

WP Job Manager is an excellent plugin and works well with PublishPress Capabilities. Using these two plugins together, it's easy to configure roles for your site with WP Job Manager.

Author

  • Steve Burge

    Steve is the founder of PublishPress. He's been working with open source software for over 20 years. Originally from the UK, he now lives in Sarasota in the USA. This profile is generated by the PublishPress Authors plugin.

Leave a Reply

Your email address will not be published. Required fields are marked *