Elasticsearch: dealing with complex permissions | Hacker News Reader