How to make admin unable to delete user from Active Directory

cancel
Showing results for 
Search instead for 
Did you mean: 
john2994
Active Member

How to make admin unable to delete user from Active Directory

Is there a way to make admin not able to delete user from Active Directory? I need to disable this feature some how in globabl properies or else. I want admin only to create users,edit them and disable them, but not delete. Thanks in advance.

1 Reply
afaust
Master

Re: How to make admin unable to delete user from Active Directory

Administrators always have full access to all functionalities - they cannot be restricted by permissions, and there is no config option to limit deletion of users, let alone users from a specific external user registry. The only way to disable such a functionality would be by customising Alfresco on a Java level, e.g. by implementing policies / behaviours which "veto" the pending deletion of a synchronised user with an exception. It cannot be guaranteed however that any admin UI will expect such exceptions and be able to properly handle / display them to the user.