mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
MT - fix tenant domain validation when creating new users/persons
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -618,6 +618,9 @@ public class PersonServiceImpl implements PersonService,
|
||||
{
|
||||
String userName = DefaultTypeConverter.INSTANCE.convert(String.class, properties
|
||||
.get(ContentModel.PROP_USERNAME));
|
||||
|
||||
tenantService.checkDomainUser(userName);
|
||||
|
||||
properties.put(ContentModel.PROP_USERNAME, userName);
|
||||
|
||||
properties.put(ContentModel.PROP_SIZE_CURRENT, 0L);
|
||||
|
Reference in New Issue
Block a user