> I went ahead and changed the admin site. I wanted to manually filter the
> hosts records that are not in same sitegroup as the logged on user from
> being displayed. The problem now is that mgd_list_hosts does not include the
> sitegroup field. Is this by design?
Not by design, no, but it is by implementation. To get the sitegroup
information you will have to refetch the individual host records, like
$hosts = mgd_list_hosts();
while ($hosts && $hosts->fetch()) {
$host = mgd_get_host($hosts->id);
if ($host->getsitegroup() == $midgard->sitegroup) {
...
}
}
Is the root/admin/user situation resolved?
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]