GroupMembershipResolver: skip templates

Motivation: templates are not considered resolved objects
This commit is contained in:
Thomas Gelf 2017-09-13 17:20:02 +02:00
parent b9d06f3015
commit 3f4903b889
1 changed files with 3 additions and 0 deletions

View File

@ -388,6 +388,9 @@ abstract class GroupMembershipResolver
}
foreach ($objects as $object) {
if ($object->isTemplate()) {
continue;
}
// TODO: fix this last hard host dependency
$resolver = HostApplyMatches::prepare($object);
foreach ($groups as $groupId => $filter) {