Prior to version 04.09.XX, admin can select roles in which the users will be available for Edit from the Module Settings >> Restricted Roles screen. While this option was sufficient for many customers, some have asked to further fine-tune the settings to allow the admin to specifically exclude certain user accounts from edit, even if these user accounts are members of roles that were made available for edit.
For example, an organization has two admin groups: System Administrators (SA) and User Account Administrators (UAA). The SA group is responsible to install and setup DNN modules. The UAA is responsible to manager user accounts. SA accounts are in the the DNN Administrators and Registered role. The Registered role is enabled for edit by the UAA (from the WorkControl-UserManager, Module Settings >> Restricted Roles screen). The UAA are not allowed to view/edit SA accounts. In version .4.9.XX, this can be easily accomplished by setting the Administrators role as Excluded. Figure 1 shows Included/Excluded option setting for each role.

Figure 1 - Includes/Excluded roles |
- Each role can be designated as Included or Excluded
- Included - visible for Edit.
- Excluded - invisible from edit
- Excluded has higher priority then Included role
|
How does the Included/Excluded setting work in the WorkControl-UserManager version 04.09.XX?
When the module is setup for the first time, there is no Included or Excluded setting. By default, all roles are setup as Not Specified. The module will show all users on the Users Listing (figure 2) screen and show all roles on the Roles Listing (figure 3) and Manager Roles for this User (figure 4) screen. The module behaves like previous version.
If only Excluded roles are selected, the module will show all users in the portal except those in Excluded roles on the Users Listing (figure 2) screen. Excluded roles will NOT show on the Roles Listing (figure 3) and the Manager Roles for this User (figure 4) screen.
If a combination of Included or Excluded roles are selected, the program will show users in the Included roles except those in Excluded roles on the User Listing (figure 2) screen. On the Roles Listing (figure 3) and Manager Roles for this User (figure 4) screen, only Included roles are shown.
Figure 2 - Users Listing screen |
Figure 3 - Roles Listing screen |
Figure 4 - Manager Roles for this User |