mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. More progress on Define Web Content Forms dialog
- ad-hoc workflow selection screen (as per new wireframes) - fixed selection bug on Form Details screen (and in UISelectList component) . Invite Users step of Create Web Project wizard now has email notification as optional . Fixed issue to restrict the selection of the same authority only allowed once in the Invite Users step git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4296 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -94,6 +94,9 @@ public abstract class InviteUsersWizard extends AbstractWizardBean
|
||||
/** list of user/group role wrapper objects */
|
||||
private List<UserGroupRole> userGroupRoles = null;
|
||||
|
||||
/** True to allow duplicate authorities (with a different role) */
|
||||
protected boolean allowDuplicateAuthorities = true;
|
||||
|
||||
/** dialog state */
|
||||
private String notify = NOTIFY_YES;
|
||||
|
||||
@@ -387,7 +390,7 @@ public abstract class InviteUsersWizard extends AbstractWizardBean
|
||||
{
|
||||
UserGroupRole wrapper = this.userGroupRoles.get(n);
|
||||
if (authority.equals(wrapper.getAuthority()) &&
|
||||
role.equals(wrapper.getRole()))
|
||||
(!this.allowDuplicateAuthorities || role.equals(wrapper.getRole())))
|
||||
{
|
||||
foundExisting = true;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user