"' attempted to administer the following portlet without the selected " +
IPermission.PORTLET_MANAGER_SELECT_PORTLET_TYPE + " permission:  " + form);
throw new SecurityException("Not Authorized");
}
}
<BUG>final Set<IGroupMember> groupList = new HashSet<>(form.getGroups().size());
final Set<IGroupMember> subscribeList = new HashSet<>(form.getGroups().size());

final Set<IGroupMember> browseList = new HashSet<>(form.getGroups().size());

for (JsonEntityBean bean : form.getGroups()) {
</BUG>
final String subscribePerm = bean.getTypeAndIdHash() + "_" + IPermission.PORTLET_SUBSCRIBER_ACTIVITY;

"' attempted to administer the following portlet without the selected " +
IPermission.PORTLET_MANAGER_SELECT_PORTLET_TYPE + " permission:  " + form);
throw new SecurityException("Not Authorized");
}
}
final Set<IGroupMember> subscribePrincipalSet = new HashSet<>(form.getPrincipals().size());
final Set<IGroupMember> browsePrincipalSet = new HashSet<>(form.getPrincipals().size());
for (JsonEntityBean bean : form.getPrincipals()) {
final String subscribePerm = bean.getTypeAndIdHash() + "_" + IPermission.PORTLET_SUBSCRIBER_ACTIVITY;
