Apply ACL restriction filters for a search query