the basic idea is that I have entries in the DB that "belong" to a certain user (I store the creators UserID in the DB).
Users who are in one of the groups as this "owner" are allowed to view the entry.
What baffles me, how do I get a list of groups a user is in?
For instance "Member::currentMember() ? Member::currentMember()->Groups()" gives me a "ComponentSet" and not a list of GroupIDs and I can't figure out how to get a list of GroupIDs for a certain UserID out of this...
Anyone an idea for me?
Thanks in advance /Carsten