parent
d02e430008
commit
6178265a12
|
@ -52,6 +52,7 @@ This version hasn't been released yet
|
|||
### Permissions and Restrictions
|
||||
* FIX: monitoring-related permission checks have been refactored (#2712)
|
||||
* FIX: Hostgroup-Filters have not been applied to Overview tables (#2775)
|
||||
* FIX: error editing Hosts with hostgroup restriction in place (#2164, #2809)
|
||||
|
||||
### Configuration Branches
|
||||
* FEATURE: with this release, directorbranches v1.3 supports a "default branch" (#2688)
|
||||
|
|
|
@ -93,7 +93,7 @@ class HostgroupRestriction extends ObjectRestriction
|
|||
['id']
|
||||
)->where('id = ?', $hostgroup->id);
|
||||
|
||||
$this->filterHostGroupsQuery($query);
|
||||
$this->filterHostGroupsQuery($query, 'h');
|
||||
return (int) $this->db->fetchOne($query) === (int) $hostgroup->get('id');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue