Greetings,
I was asked to begin restricting triggers to just the hosts associated with each group so that users would only see the hosts that they own. I had already group hosts according to their functional groups, however, when I started looking at the triggers, I noticed that groups were working correctly. I looked at the code and found that the select statements were not restricting hosts by groups. This patch resolves that bug. The first patch is against the current CVS tree, while the second patch is the same thing, but is against my meta $_REQUEST patch.
I was asked to begin restricting triggers to just the hosts associated with each group so that users would only see the hosts that they own. I had already group hosts according to their functional groups, however, when I started looking at the triggers, I noticed that groups were working correctly. I looked at the code and found that the select statements were not restricting hosts by groups. This patch resolves that bug. The first patch is against the current CVS tree, while the second patch is the same thing, but is against my meta $_REQUEST patch.