|
@@ -181,6 +181,11 @@ public class CSMappingPlacementRule extends PlacementRule {
|
|
|
return;
|
|
|
}
|
|
|
Set<String> groupsSet = groups.getGroupsSet(user);
|
|
|
+ if (groupsSet.isEmpty()) {
|
|
|
+ LOG.warn("There are no groups for user {}", user);
|
|
|
+ vctx.putExtraDataset("groups", groupsSet);
|
|
|
+ return;
|
|
|
+ }
|
|
|
String secondaryGroup = null;
|
|
|
Iterator<String> it = groupsSet.iterator();
|
|
|
String primaryGroup = it.next();
|