auth.accessible_query(query or set), isue 1356, thanks Alan