On 23 Feb 2016 at 17:57:24, Mark Sack ([email protected](mailto:[email protected])) wrote:
A satisfactory alternative for our situation would be to hide the Admin user from all but users in the Admin group. That is a feature that I can see coming in handy for other scenarios as well (for example, someone leaves the organization but for some reason we don't want to remove them from the user directory). I would envision adding a 'Hide' flag or an 'Expiry Date' field to the user profile to determine whether or not the user should be displayed.
Does anyone have an idea as to how this could be accomplished?
First, note that you should perfectly be able to delete the admin user from your wiki and everything should continue to work well. There’s a very easy solution for this second question though. Just edit the admin user profile page and set it as hidden. It won’t appear anymore in the user directory or other places. Thanks -Vincent
A complementary feature of course would be to prevent the hidden user from logging in. In our case, we are using Active Directory authentication so we can take care of that outside of the xwiki software.