So, here is what I found (so far):
Here is my READ PROTECT rule in Event:
IF NOT(Event IS NEW) AND COUNT EventAttendees WHERE (EventAttendees.Event=Event AND LoggedInMember = EventAttendees.Member)=0 THEN
READ PROTECT Event from Member
When a Member logs into the VP for Member, the below QUERY did not “inherit” the above READ PROTECT rule in Event:
FIND ALL Event ORDER BY Event.TimeScheduled
All Events were displayed, even those where the LoggedInMember was not attending.
When I changed my QUERY to this below, the Query worked (as expected):
FIND Event where EXISTS EventAttendees WHERE (EventAttendees.Event = Event AND LoggedInMember = EventAttendees.Member) ORDER BY Event.TimeScheduled
This seems to indicate that an AwareIM QUERY does not “inherit” READ PROTECT rules for the BO. If true, that’s ok, because if it did, I believe performance would suffer in AWAREIm
I have not done profiler or stored procs yet, stay tuned 🙂
Dave