How to manage WordPress roles

Managing WordPress role is crucial when there is a need to redefine how users can interact with your website. The basic WordPress functionality does not have this ability. Luckily with AAM you can manage all your roles with Users/Role Managers panel and you have all necessary set of tools to do anything you want with them

WordPress Role Manager

Most of the available features are included in the basic AAM version however some may require premium extension. Here is the list of all available features in AAM 5.0 or higher.

= Create New Role =

To create a new role, click on the + Create button above the list of roles. This brings up the “Create Role” form where you can define the new role name and inherit capabilities from already existing role. When no role is selected, then the new role will have no capabilities assigned to it.

= Clone Existing Role=

You can choose to clone any existing role by clicking on the “Clone Role” button. This button is just a shortcode that will launch “Create Role” form and pre-select cloning role in the “Inherit Capabilities From” drop-down as well as check “Also clone all access settings” checkbox.

Role Hierarchy extension you can define the parent role and any changes to the parent role will be passed to all child roles automatically.

= Edit Existing Role =

To edit any existing role, click on the “Edit Role” button.

Please note! As it is mentioned in the What is a WordPress role article, there are 3 attributes that define role: name, slug and list of capabilities. With Role Manager you can edit only name.

= Delete Existing Role =

To delete any existing role, you can click on the “Delete Role” button. This will bring the confirmation dialog box and upon confirmation, the role will be permanently deleted.

For safety reasons only roles that do not have users assigned to it can be deleted. You can see the number of users under the role title.

= Define Role Expiration =

Useful feature when there is a need to define temporary access to specific role for any user. For example if you want to give Editor capabilities for a week of one of your contributors, you can set Role Expiration rule to “1 week” and as soon as you assign Editor role to your contributor user, AAM starts monitoring that user. Exactly one week from this event, your contributor user will be downgraded back to the previous role.

The expiration rule can be any valid date/time format or mathematical expression for example “1 day”, “5 hours”, “Jan 3d 2018″ etc.

Please be aware! It is most likely this feature will be enhanced in the near future and some of the existing functionality may not work exactly as it is right now. Make sure that you are following us on twitter or subscribed to news letters.

= Define Parent Role =

Available only with premium Role Hierarchy extension.

WordPress does not have ability to define hierarchical tree of roles where child role inherits settings from its parent. This is something that can be quite useful with large membership websites. With Role Hierarchy extension you can define parent role either during new role creation or while editing existing.

Child roles will automatically inherit all access settings. However keep in mind that the list of capabilities is not inherited and is managed separately for each role.

Get Development Package with all extensions included for unlimited number of sites

Learn More

Get the latest updates and promos.