I am trying to migrate a custom plugin I wrote from the old to new Groups API (which I do like much better BTW!).
It is basically a e-mail notification system for new posts. I have three groups, each of which is a daughter of the next in the tree with respect to access. i.e. G1 can see everything, G2 can’t see G1 posts, G3 can’t see G1 or G2 posts.
I would like to send one email per group with post titles for posts they can see and I’m trying to find an elegant way of accomplishing that with the new system.
I guess I’m looking for something like:
I can certainly figure out a hacky way to sort it out—get the deep ids for a group member, for example—but I was hoping I overlooked something in the documentation that would get me there more elegantly…