What really are user roles and why are they so important? Well to put it simply, user roles are privileges assigned to the users who access a website and thus limit what that user can see and interact with on the said website.
Different user roles have different privileges, for example, some users are allowed total control over the site or blog while others are simply limited to viewing specific posts and are unable to edit them in any way whatsoever.
Let’s dive deep into some standard user roles and their privileges.
TYPES OF USER ROLES
First and foremost, the administrator. The administrator sits at the very top of the user hierarchy and is assigned to you when you create a website.
The administrator can access all the functions of their website and WordPress and edit them however they wish.
The administrator of a site can manage the plugins and themes that the site is running, edit core files and even go so far as to be able to alter the user roles of others, upgrading or downgrading their roles according to what is required.
Being the most powerful role on a WordPress site, there is usually only one admin but there are cases where the site or blog has multiple admins. But be careful who you hand this role to because once they have it, they control the website.
The editor is generally responsible for moderating the content that is displayed on the website by not only creating their own content but also deleting, publishing or tweaking the content created by other users.
Although unlike the admin, the editor cannot make changes to the core website by doing things like adding or removing plugins or changing themes. These functions are solely available for the administrator and no other role.
Besides managing content editors also monitor comments (to watch for spam in most cases) and manage categories and links on the site so generally they are responsible for managing the work sent in by the authors and contributors, speaking of which…
The authors are the next step down in the user hierarchy and have basically no administrative power when compared to the admin or editor.
They cannot make changes to the pages of the site or edit the content created by other users.
Basically, the authors are only around to create content, they can create their own content, edit and upload/publish it unless certain conditions have been set where the admin or editor must moderate their content before allowing it to be published.
Contributors are only allowed to view content that is published and edit/delete their own posts, so it is basically the author role but with even fewer permissions as it does not allow you to create or publish any content yourself.
This role is often used for users who are only creating content once or are very new to the field so it stops them from publishing unmoderated content and, if need be, delete that content.
Now this is the user role most users are assigned, their function is incredibly simple. They are allowed to view the content that has been published and interact with it in a very limited fashion.
This user role is assigned to all of the user who have entered the site with the intention of browsing the content published and nothing else.
HOW TO CONTROL WHAT THEY CAN AND CANNOT SEE VIA PIE REGISTER
Now, Pie Register is a registration plugin, a very simple but effective one.
With most registration plugins, certain short codes have to be memorized by the admins in order to place and revoke permissions for user roles but with PR editing these permissions has never been simpler. Let me explain.
Restrict Post and Page
Once a post or page has been created by an author there will be a “visibility section”, from here you can find a drop-down menu that has all of the default user roles listed that are built into WordPress, all of which are present above.
Although if you have created a custom user role that will also appear in the drop down menu once PR has been integrated into your site.
From this list you can decide who gets to see the post being published and who does not be either redirecting the user to a different page or blocking the content and adding some custom text such as “You are not authorized to view this”.
Not only content but the widgets that are present on your site can also be restricted to certain user roles by simply going to settings, security, advanced, and restrict widgets.
Restrict Website Navigation
You can also restrict access to pages or post through navigation settings by adding visibility status to each menu link.
Just like that, you can now control what certain users can or cannot see. Simple, right? Now you go on and be more proficient with your site, good luck!