Hello,
First of all, thank you for your good words, we really appreciate that.
As to your question, no, the User Self Service role doesn't limit users from viewing disabling user accounts. Moreover its name doesn't mean that it applies only in the Web interface for Self-Service. The name only means that the role contains permissions for users to perform various self-service tasks, such as changing own password, updating personal information etc. Any Security Role applies everywhere in Adaxes.
To implement what you want, you need to use the Blind User Security Role. This role denies the permissions to view objects.
Note, however, that if permissions to view an object are denied to a user with the help of Security Roles, the user won't be able to view the object anywhere, neither in the Administration Console, nor in any of the Web interfaces.
To implement what you need, you want, you need to:
- Create a Business Unit that contains all disabled users;
- Assign the Blind User role to your users, including the Business Unit in the Assignment Scope.
i. Create a Business Unit that contains all disabled users
To create such a Business Unit:
- Create a new Business Unit.
- On step 2 of the Create Business Unit wizard, click Add.
- Select Query Results.
- In the Filter edit box, specify:
(&(objectCategory=user)(userAccountControl:1.2.840.113556.1.4.803:=2))
- Click OK, then click Finish.
ii. Assign the Blind User Security Role to your users
To do this:
- Launch Adaxes Administration Console.
- Select the Blind User role in the Console Tree.
- Right-click the Assignments section and click Add Assignment.
- Select Authenticated Users and click OK.
- Select the Business Units item in the Look in drop-down list.
- Select the Business Unit you created and click Add.
- Select the Members of this Business Unit and This Business Unit object options.
- Click OK 2 times. This will hide disabled accounts from all users.
- Now, if you want to allow certain users to view disabled accounts, you can exclude them from the Security Roles Assignments. For example, to exclude the Administrators group from the assignments, right-click in the Assignments section and click Add Assignment.
- Select Administrators group and click OK.
- Select the Business Units item in the Look in drop-down list.
- Select the Business Unit you created and click Add.
- Select the Members of this Business Unit and This Business Unit object options.
- Select Exclude the selection.
- Click OK.
- When done, save the changes.