mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.2 to HEAD
15657: ETHREEOH-2638: Admin and guest users duplicated after upgrade to v3.2. Cannot delete duplicates due to missing authentication. - Split out alfrescoAuthorityStoreDefaultMembers.xml, only loaded on initial bootstrap so that admin and guest users not duplicated - Modified org.alfresco.repo.jscript.People and org.alfresco.web.bean.users.UsersDialog so that person deletion doesn't fail if internal authentication information doesn't exist git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -189,7 +189,14 @@ public final class People extends BaseScopableProcessorExtension
|
||||
public void deletePerson(String username)
|
||||
{
|
||||
personService.deletePerson(username);
|
||||
mutableAuthenticationDao.deleteUser(username);
|
||||
try
|
||||
{
|
||||
mutableAuthenticationDao.deleteUser(username);
|
||||
}
|
||||
catch (AuthenticationException e)
|
||||
{
|
||||
// Let's not worry if authentication details don't exist
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user