getAllOwners method

Map<String, PolicySubject> getAllOwners()

Returns a map of PolicySubjects who are in the special group owner.

Throws ArgumentError if there is no owner group.

Implementation

Map<String, PolicySubject> getAllOwners() {
  final PolicyGroup owner = getGroup(ownerGroupKey);
  return owner.subjects;
}