diff --git a/config/alfresco/bootstrap/alfrescoAuthorityStore.xml b/config/alfresco/bootstrap/alfrescoAuthorityStore.xml index 4c6125cc69..add78b272e 100644 --- a/config/alfresco/bootstrap/alfrescoAuthorityStore.xml +++ b/config/alfresco/bootstrap/alfrescoAuthorityStore.xml @@ -22,13 +22,6 @@ GROUP_ALFRESCO_ADMINISTRATORS GROUP_ALFRESCO_ADMINISTRATORS - - - - - @@ -39,13 +32,6 @@ GROUP_EMAIL_CONTRIBUTORS GROUP_EMAIL_CONTRIBUTORS - - - - - @@ -69,16 +55,6 @@ AUTH.ALF - - - - - - APP.DEFAULT - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/config/alfresco/import-export-context.xml b/config/alfresco/import-export-context.xml index 8d23604302..175789d4f0 100644 --- a/config/alfresco/import-export-context.xml +++ b/config/alfresco/import-export-context.xml @@ -511,6 +511,11 @@ alfresco/bootstrap/alfrescoAuthorityStore.xml + + /${system.system_container.childname} + alfresco/bootstrap/alfrescoAuthorityStoreDefaultMembers.xml + + /${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.scripts.childname} alfresco/bootstrap/imapScripts.xml diff --git a/source/java/org/alfresco/repo/jscript/People.java b/source/java/org/alfresco/repo/jscript/People.java index 49518ba141..8f2efac685 100644 --- a/source/java/org/alfresco/repo/jscript/People.java +++ b/source/java/org/alfresco/repo/jscript/People.java @@ -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 + } } /**