mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.1 to HEAD
13129: Merged V2.1-A to V3.1 8598: Fix for ADB-41 (ACT 1657) 13139: Merged V2.1-A to V3.1 8674: First phase of using group display name in UI 13148: Merged V2.1-A to V3.1 8679: Completion of using group display name in UI 13149: Merged V2.1-A to V3.1 8690: Fixed ADB-33 again 13150: Merged V2.1-A to V3.1 8775: Fix ACT-2399 13152: Merged V2.1-A to V3.1 8941: ACT-2631: added max users message to send email action page git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -571,14 +571,21 @@ public class EmailSpaceUsersDialog extends BaseDialogBean implements IContextLis
|
||||
{
|
||||
// need a map (dummy node) to represent props for this Group Authority
|
||||
node = new HashMap<String, Object>(8, 1.0f);
|
||||
if (authority.startsWith(PermissionService.GROUP_PREFIX) == true)
|
||||
|
||||
String groupDisplayName = this.authorityService.getAuthorityDisplayName(authority);
|
||||
if (groupDisplayName == null || groupDisplayName.length() == 0)
|
||||
{
|
||||
node.put(PROP_FULLNAME, authority.substring(PermissionService.GROUP_PREFIX.length()));
|
||||
}
|
||||
else
|
||||
{
|
||||
node.put(PROP_FULLNAME, authority);
|
||||
if (authority.startsWith(PermissionService.GROUP_PREFIX) == true)
|
||||
{
|
||||
groupDisplayName = authority.substring(PermissionService.GROUP_PREFIX.length());
|
||||
}
|
||||
else
|
||||
{
|
||||
groupDisplayName = authority;
|
||||
}
|
||||
}
|
||||
|
||||
node.put(PROP_FULLNAME, groupDisplayName);
|
||||
node.put(PROP_USERNAME, authority);
|
||||
node.put(PROP_ID, authority);
|
||||
node.put(PROP_ICON, WebResources.IMAGE_GROUP);
|
||||
|
Reference in New Issue
Block a user