} else {
targetEntity = GroupService.getGroupMember(target, IPerson.class);
}
}
if (targetEntity != null) {
<BUG>for (Iterator containing = targetEntity.getAncestorGroups().iterator(); containing.hasNext();) {
containingGroups.add(((IEntityGroup)containing.next()).getKey());
}</BUG>
}
}

} else {
throw new AuthorizationException(
"Unrecognized lifecycle state for channel "
+ portletDefinitionId);
