fix inCompartment for a collection of owners

This commit is contained in:
Jiajing LIANG 2017-12-13 13:19:27 +01:00
parent ff477885e1
commit cc40d47d2a
1 changed files with 2 additions and 0 deletions

View File

@ -275,6 +275,8 @@ public class RuleBuilder implements IAuthRuleBuilder {
for (IIdType next : theOwners) {
validateOwner(next);
}
myInCompartmentName = theCompartmentName;
myInCompartmentOwners = theOwners;
myClassifierType = ClassifierTypeEnum.IN_COMPARTMENT;
return finished();
}