Do you want to understand WordPress user roles and permissions better?
WordPress has a user role management system defining what a user can and can’t do on your website. Knowing these user roles and permissions is essential as your WordPress site grows.
In this guide, we will go in-depth into WordPress user roles and permissions so you can better manage your site.
What Are WordPress User Roles and Permissions?
WordPress allows you to add multiple users to your website. You can also open user registration on your website so that other users can sign up.
When adding a new user to your website, you can choose a user role for them. You can also set a default user role for your site, which will be automatically assigned to new users who sign up for an account.
A user role comprises specific capabilities, or permissions, that spell out the actions a user can take on your website.
There are five default user roles available in WordPress by default:
You can see a complete visual comparison between each user role by viewing the infographic below:
Alternatively, you can read the summary of each user role and their capabilities and permissions below.
1. Administrator Role
On a regular WordPress website, the administrator role is the most powerful user role. Users with the administrator role can add new posts, edit posts by any users, and delete those posts.
Plus, they can install, edit, and delete plugins and themes.
Most importantly, admin users can add and delete users and change information about existing users, including their passwords.
This role is basically reserved for site owners and gives you full control of your WordPress blog. If you are running a multi-user WordPress site, then you need to be very careful who you assign an administrator user role.
2. Editor Role
Users with the editor role in WordPress have complete control over the content sections of your website.
They can add, edit, publish, and delete any posts on the site, including the ones written by others. An editor can moderate, edit, and delete comments as well.
Editors cannot change your site settings, install plugins and themes, or add new users.
3. Author Role
Users with the author role can write, edit, and publish their own posts. They can also delete their own posts, even if they are already published.
When writing posts, authors cannot create new categories, but they can choose from existing ones. They can also add tags to their posts.
Authors can view comments, even those that are pending review, but they cannot moderate, approve, or delete any comments.
They do not have access to site settings, plugins, or themes, so it is a relatively low-risk user role. The only exception is the ability to delete their own published posts.
4. Contributor Role
Users with the contributor role can add new posts and edit their own posts, but they cannot publish any posts.
When writing posts, they can choose from existing categories and create their own tags.
The biggest disadvantage of the contributor role is they cannot upload files, so they can’t add images to their posts.
Contributors can also view all website comments, but they cannot approve or delete comments.
Finally, they don’t have access to website settings, plugins, or themes, so they cannot change any settings on your site.
5. Subscriber Role
Users with the subscriber role can log in to your WordPress site, update their user profiles, and change their passwords.
They can’t write posts, view comments, or do anything else inside your WordPress admin area.
If you want to create a custom login experience for your visitors, then see our guide on how to add a front-end login page and widgets in WordPress.
Bonus: Super Admin Role
This user role is only available on a WordPress multisite network.
Users with the super admin user role can add and delete sites on a multisite network. They can also install plugins and themes, add users, and perform network-wide actions on a WordPress multi-site setup.
Think of it like having admin access to every site in the network.
How to Customize Existing User Roles and Permissions in WordPress
The default WordPress user roles have capabilities that will work for most WordPress websites and blogs.
For example, if you run a magazine website, then the ‘Editor’ role can be assigned to senior staff, the ‘Author’ user role can be for junior writers, and the ‘Contributor’ role can be for guest writers.
But sometimes, you might want to customize the permissions and capabilities assigned to the role for the specific needs of your website.
Like the default author role that lets users publish their posts and also gives them the ability to delete their published posts. In this case, you may want to remove the capability that lets authors delete their posts.
There are some plugins that add specific roles to your website, such as a comment moderator user role plugin.
But if you want to customize your WordPress user roles, the easiest way is by using the Members plugin. It lets you simply create, manage, and change user roles across your website.
The first thing you need to do is activate and install the plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.
Upon activation, you will have a new menu item called ‘Members’ in your WordPress admin panel.
You need to go to Members » Roles and click on the user role you want to edit.
In this example, we will be editing the ‘Author’ role, but you can choose the best role for your needs.
This brings you to a screen where you can fully customize the capabilities for that role.
To remove a capability for the role, simply check the ‘Deny’ box. If you want to add a new capability, check the ‘Grant’ box.
Here, we will check the ‘Deny’ box for the Delete Posts user capability.
If you don’t check a box for an available role, that user won’t have that capability.
Once you have finished customizing your role, click the ‘Update’ button.
The changes you make will automatically apply to all existing users with that role, and all new users the role is assigned to.
How to Create Custom User Roles in WordPress
Another thing you can do is create completely custom user roles in WordPress with unique sets of capabilities.
To do this, you be using the same plugin as above.
Simply navigate to Members » Add New Role, and give your new role a name.
For instance, you can create a developer role that you can give to a WordPress developer with specific permissions granted.
The left-hand column has different sections that have lists of available capabilities. We will select the ‘Appearance’ tab and then add capabilities to edit, install, and update themes.
After that, click the ‘Add Role’ button to save the user role.
Next, you can create a new user and assign them the new user role.
To do this, go to Users » Add New and fill in your new user information.
At the bottom of the screen, you will see a ‘User Roles’ section.
Simply check the boxes for the user roles you want to assign to the new user and then click the ‘Add New User’ button.
Now, you have created a new custom WordPress user role and assigned it to a new user.
For more details, see our guide on how to add new users and authors to WordPress.
If you want to create a WordPress user role that’s only for moderating comments, then see our guide on how to allow blog users to moderate comments in WordPress.