3. Map Roles
With the Custom Roles add-on, WordPress built-in Roles and custom Roles can be mapped to specific KB Groups and KB Roles. Users with each WP Role will automatically be considered to be part of a mapped KB Group with a given KB Role.
Mapping Roles is useful if you have certain roles that need access to KB content and you do not want to manage these users manually within the KB Group.
For example, you can:
- map the Shop Manager role (WooCommerce) to KB Manager
- map the WordPress Subscribers to KB Authors
- map the Member role (BuddyPress) to the KB Editor role
- Map Shop Worker to the Warehouse group with the KB Subscriber role
- When a user is registered with or assigned the Shop Worker role as defined by Easy Digital Downloads, they will have the same access as the KB Group Warehouse with the KB Subscriber role. This will allow shop workers to view all Articles assigned to the Warehouse Group.
- Map Shop Manager to the Office group with the KB Editor role:
- When a user is registered with or assigned the Shop Manager role as defined by Easy Digital Downloads, they will have the same access as the KB Group called Office with the KB Editor role. Shop managers will be able to View/Edit/Delete/Update all Articles assigned to the Office Group.
Create Role Mapping
1. On the Access Manager screen, select Role Mapping.
2. Specify mapping:
- Select the role to map from the WordPress Role Name
- Select the KB Group (only if the KB Groups add-on installed)
- Select the role to map to the KB Role Name