Hi,
I found a bug where anonymous users doesn't get the right GID. In Joomla 1.5 "Public" was 0 but in 1.6 and 1.7 "Public" is 1. I debugged CB and found that $myAid is set to null for J1.6+, so this line return zero : (int) $_CB_framework->myCmsGid();
When my plugin search the database for articles where access >= myCmsGid it return nothing in J1.6+. I'm not sure how to fix that. Should I use something else that myCmsGid or is it a bug in CB where $myAid should not be set to null but to the right value?