Added ability to query by ACL's. See wiki for documentation.